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