From b1fd0cdeff287e4cf0ec180ff9fee804cb2c8b8d Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 22 Oct 2025 01:52:05 +0400 Subject: feat/frontend: add general mobile support (#275) --- frontend/src/api/Api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontend/src/api/Api.ts') 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'; export const API = { // Auth get_token: () => get_token(), - + delete_token: () => delete_token(), // User get_user: (user_id: string) => get_user(user_id), @@ -42,10 +42,10 @@ export const API = { delete_map_record: (token: string, map_id: number, record_id: number) => delete_map_record(token, map_id, record_id), // Mod post_map_summary: (token: string, map_id: string, content: ModMenuContent) => post_map_summary(token, map_id, content), - + put_map_image: (token: string, map_id: string, image: string) => put_map_image(token, map_id, image), put_map_summary: (token: string, map_id: string, content: ModMenuContent) => put_map_summary(token, map_id, content), - + delete_map_summary: (token: string, map_id: string, route_id: number) => delete_map_summary(token, map_id, route_id), }; -- cgit v1.2.3