API lib cleanup, 404 hosts WIP

This commit is contained in:
Jamie Curnow
2025-10-02 08:12:36 +10:00
parent 058f49ceea
commit 54e036276a
76 changed files with 921 additions and 544 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ function AuthProvider({ children, tokenRefreshInterval = 5 * 60 * 1000 }: Props)
};
const login = async (identity: string, secret: string) => {
const response = await getToken({ payload: { identity, secret } });
const response = await getToken(identity, secret);
handleTokenUpdate(response);
};