Skip to content

Commit

Permalink
fix type ambiguity again
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekEagle authored Sep 8, 2023
1 parent e63c4c3 commit 0c464be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const userStore = defineStore("user", () => {
} else {
// Log out a user that isn't currently selected.
try {
const tempClient = new Cumulonimbus(accounts.value[username], cumulonimbusOptions),
const tempClient = new Cumulonimbus(accounts.value[username] as string, cumulonimbusOptions),
sid = (await tempClient.getSession()).result.id.toString();

const res = await tempClient.deleteSession(sid);
Expand Down

0 comments on commit 0c464be

Please sign in to comment.