Return the host record from verifyHostToken

Matches verifyUserToken returning the user. HostConnection._saveInfo is
renamed saveRecord to match User.saveRecord.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-11-04 00:37:37 +00:00
1 parent e6554e09c7
commit 4c6aed3cff
5 files changed
+13 -12

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ ${err.stack}`
}
try {
if (this.controller.hosts.verifyHostToken(data.token) !== data.id) {
if (this.controller.hosts.verifyHostToken(data.token).id !== data.id) {
throw new Error("missmatched host id");
}
} catch (err: any) {