frontend/lib: dropping comment from api
Gary Coleman still slaps tho
Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago
fe963260110d5407f9fb610d6fbd75381609e3ee Browse filesParents
d706da9Changed files
1
Additions
+1
Deletions
-1
frontend/lib/api/client.ts
1 1
import * as SecureStore from 'expo-secure-store';
2 2
import {
3 3
User,
4 4
AuthResponse,
5 5
VerifyTokenResponse,
12 12
MoodEntryPayload,
13 13
PaginatedResponse
14 14
} from '@/lib/api/types';
15 15
16 16
const API_BASE_URL = process.env.EXPO_PUBLIC_API_BASE_URL;
17 -
const TOKEN_KEY = process.env.EXPO_PUBLIC_TOKEN_KEY; // Gary B.B Coleman fucking slaps
17 +
const TOKEN_KEY = process.env.EXPO_PUBLIC_TOKEN_KEY;
18 18
19 19
class ApiClient {
20 20
private async getStoredToken(): Promise<string | null> {
21 21
try {
22 22
return await SecureStore.getItemAsync(TOKEN_KEY);
159 159
})
160 160
}
161 161
}
162 162
163 163
export const apiClient = new ApiClient();