diff --git a/mobile/src/api/api.ts b/mobile/src/api/api.ts index e620fe3e..793a1393 100644 --- a/mobile/src/api/api.ts +++ b/mobile/src/api/api.ts @@ -13,20 +13,12 @@ import { extractUsernameFromToken } from "../auth/jwtUtils"; const V1 = "https://uber-stup.club/api/v1"; -// ============================================ -// AUTH HELPERS -// ============================================ - export const getJwtUsername = async (): Promise => { const token = await getToken(); if (!token) return null; return extractUsernameFromToken(token); }; -// ============================================ -// AUTH -// ============================================ - export interface AuthResponse { success: boolean; message?: string;