mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 00:02:37 +10:00
fix: task api and other small issues
This commit is contained in:
@ -63,7 +63,9 @@ export class ClientHandler {
|
||||
}
|
||||
|
||||
async fetchClientMetadataByToken(token: string) {
|
||||
return Object.entries(this.temporaryClientTable)
|
||||
return this.temporaryClientTable
|
||||
.entries()
|
||||
.toArray()
|
||||
.map((e) => Object.assign(e[1], { id: e[0] }))
|
||||
.find((e) => e.authToken === token);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user