/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
apps/dashboard/src/api/connect.ts
14 строк
379 B
George Djabarov
fix(dashboard): redirect connect claim to claimed agent fixes NV-8042 (#11556)
15 июн 2026, 12:17
Не верифицирован
15 июн 2026, 12:17
4cadb71
Код
Авторство
О чём код?
import { post } from './api.client'; export type ClaimKeylessConnectResponse = { environmentId: string; agentIdentifier?: string; }; export async function claimKeylessConnect(token: string): Promise<ClaimKeylessConnectResponse> { const response = await post<{ data: ClaimKeylessConnectResponse }>('/connect/claim', { body: { token }, }); return response.data; }