diff options
Diffstat (limited to 'frontend/src/api/Api.ts')
| -rw-r--r-- | frontend/src/api/Api.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/api/Api.ts b/frontend/src/api/Api.ts index 862e688..c84714d 100644 --- a/frontend/src/api/Api.ts +++ b/frontend/src/api/Api.ts | |||
| @@ -12,7 +12,7 @@ import { UploadRunContent } from '@customTypes/Content'; | |||
| 12 | export const API = { | 12 | export const API = { |
| 13 | // Auth | 13 | // Auth |
| 14 | get_token: () => get_token(), | 14 | get_token: () => get_token(), |
| 15 | 15 | ||
| 16 | delete_token: () => delete_token(), | 16 | delete_token: () => delete_token(), |
| 17 | // User | 17 | // User |
| 18 | get_user: (user_id: string) => get_user(user_id), | 18 | get_user: (user_id: string) => get_user(user_id), |
| @@ -42,10 +42,10 @@ export const API = { | |||
| 42 | delete_map_record: (token: string, map_id: number, record_id: number) => delete_map_record(token, map_id, record_id), | 42 | delete_map_record: (token: string, map_id: number, record_id: number) => delete_map_record(token, map_id, record_id), |
| 43 | // Mod | 43 | // Mod |
| 44 | post_map_summary: (token: string, map_id: string, content: ModMenuContent) => post_map_summary(token, map_id, content), | 44 | post_map_summary: (token: string, map_id: string, content: ModMenuContent) => post_map_summary(token, map_id, content), |
| 45 | 45 | ||
| 46 | put_map_image: (token: string, map_id: string, image: string) => put_map_image(token, map_id, image), | 46 | put_map_image: (token: string, map_id: string, image: string) => put_map_image(token, map_id, image), |
| 47 | put_map_summary: (token: string, map_id: string, content: ModMenuContent) => put_map_summary(token, map_id, content), | 47 | put_map_summary: (token: string, map_id: string, content: ModMenuContent) => put_map_summary(token, map_id, content), |
| 48 | 48 | ||
| 49 | delete_map_summary: (token: string, map_id: string, route_id: number) => delete_map_summary(token, map_id, route_id), | 49 | delete_map_summary: (token: string, map_id: string, route_id: number) => delete_map_summary(token, map_id, route_id), |
| 50 | }; | 50 | }; |
| 51 | 51 | ||