Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(session): compact auth clear call

Steven Enamakel09c38480be60
diff --git a/app/src/services/session/sessionOwner.ts b/app/src/services/session/sessionOwner.ts
index 5c702dd43a..1d78efcdd3 100644
--- a/app/src/services/session/sessionOwner.ts
+++ b/app/src/services/session/sessionOwner.ts
@@ -294,10 +294,7 @@ export const logoutSession = async (): Promise<void> => {
// 'session'` clears whichever of session or local is actually stored —
// both live under the same app-session profile — without touching the
// API key, unlike omitting `kind` entirely.
- await callCoreRpc({
- method: 'openhuman.auth_clear_credential',
- params: { kind: 'session' },
- });
+ await callCoreRpc({ method: 'openhuman.auth_clear_credential', params: { kind: 'session' } });
};
/**