MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / getMe

Function getMe

ui/node-react/client/src/api.js:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export async function getMe() {
39 const res = await fetch(`${API_BASE}/auth/me`, { headers: getHeaders() });
40 if (!res.ok) throw new Error('Not authenticated');
41 return res.json();
42}
43
44// Datasets
45export async function getDatasets() {

Callers 1

AuthProviderFunction · 0.90

Calls 1

getHeadersFunction · 0.85

Tested by

no test coverage detected