MCPcopy Index your code
hub / github.com/coder/coder / apiKey

Function apiKey

site/src/api/queries/users.ts:166–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164};
165
166export function apiKey(): UseQueryOptions<GenerateAPIKeyResponse> {
167 return {
168 queryKey: [...meKey, "apiKey"],
169 queryFn: () => API.getApiKey(),
170 };
171}
172
173export const hasFirstUserKey = ["hasFirstUser"];
174

Callers 2

useAppLinkFunction · 0.90
CliAuthenticationPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected