change api

This commit is contained in:
AmirHossein Mahmoodi
2025-08-13 10:51:30 +03:30
parent c5d7b565a8
commit 6b33735f57

View File

@@ -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];