mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 07:47:07 +00:00
Process incoming JWT WebSocket messages
This commit is contained in:
@@ -82,6 +82,8 @@ export default {
|
|||||||
if (event.channel == "project" && event.payload?.schema == "public") {
|
if (event.channel == "project" && event.payload?.schema == "public") {
|
||||||
// Projects changed in some way or another
|
// Projects changed in some way or another
|
||||||
await this.refreshProjects();
|
await this.refreshProjects();
|
||||||
|
} else if (event.channel == ".jwt" && event.payload?.token) {
|
||||||
|
await this.setCredentials({token: event.payload?.token});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user