We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea6efb commit 2f1f15dCopy full SHA for 2f1f15d
cli/src/hooks/use-auth-query.ts
@@ -58,7 +58,9 @@ export async function validateApiKey({
58
throw new Error('Invalid API key')
59
}
60
61
- return authResult
+ const { id, email } = authResult
62
+
63
+ return { id, email }
64
} catch (error) {
65
// Check if this is a network error
66
if ((error as any)?.code === 'NETWORK_ERROR') {
0 commit comments