change api
This commit is contained in:
@@ -51,8 +51,8 @@ export class SocketService {
|
||||
const client = this.socketConnectionRepository.create(data);
|
||||
|
||||
const eventEndpoints = {
|
||||
connected: '/api/operator/online',
|
||||
disconnected: '/api/operator/offline',
|
||||
connected: '/server/profile/online',
|
||||
disconnected: '/server/profile/offline',
|
||||
};
|
||||
|
||||
const endpoint = eventEndpoints[data.event];
|
||||
|
||||
Reference in New Issue
Block a user