Update notification.service.ts

This commit is contained in:
piotrpekala7 2021-12-29 13:42:08 +01:00
parent fa22ce5d0f
commit 60a9e45e4a

View File

@ -9,7 +9,7 @@ export class NotificationService {
protocol = "wss"
}
return `${protocol}://${server.host}:${server.port}/v3/notifications/ws`;
return `${protocol}://${server.host}:${server.port}/v3/notifications/ws?token=${server.authToken}`;
}
@ -19,6 +19,6 @@ export class NotificationService {
protocol = "wss"
}
return `${protocol}://${server.host}:${server.port}/v3/projects/${project_id}/notifications/ws`;
return `${protocol}://${server.host}:${server.port}/v3/projects/${project_id}/notifications/ws?token=${server.authToken}`;
}
}