Remove console log
This commit is contained in:
parent
a7e17137f4
commit
258474edb7
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ export class ChatService {
|
|||
return new Observable(observer => {
|
||||
// @ts-ignore
|
||||
this.socket.on(room, (data: ChatInfo[]) => {
|
||||
console.log(data);
|
||||
//console.log(data);
|
||||
observer.next(data);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export class MessageService {
|
|||
constructor(private http: HttpClient) { }
|
||||
sendMessage(url: string, data: any): Observable<JSdata> {
|
||||
const CreatURL = environment.urlCL.concat('/').concat(url);
|
||||
console.log(CreatURL, data);
|
||||
//console.log(CreatURL, data);
|
||||
return this.http.post<JSdata>(
|
||||
CreatURL,
|
||||
data,
|
||||
|
|
|
|||
Reference in a new issue