From 81342e2579165ebfdb28c749dc5225141721a419 Mon Sep 17 00:00:00 2001 From: FifthWit Date: Thu, 30 Jan 2025 13:11:48 -0600 Subject: switched to double quotes --- frontend/src/api/Api.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'frontend/src/api/Api.ts') diff --git a/frontend/src/api/Api.ts b/frontend/src/api/Api.ts index b98dda3..0e1658c 100644 --- a/frontend/src/api/Api.ts +++ b/frontend/src/api/Api.ts @@ -1,14 +1,14 @@ -import { MapDiscussionContent, ModMenuContent } from '@customTypes/Content'; -import { delete_token, get_token } from '@api/Auth'; -import { get_user, get_profile, post_profile } from '@api/User'; +import { MapDiscussionContent, ModMenuContent } from "@customTypes/Content"; +import { delete_token, get_token } from "@api/Auth"; +import { get_user, get_profile, post_profile } from "@api/User"; import { get_games, get_chapters, get_games_chapters, get_game_maps, get_search, -} from '@api/Games'; -import { get_official_rankings, get_unofficial_rankings } from '@api/Rankings'; +} from "@api/Games"; +import { get_official_rankings, get_unofficial_rankings } from "@api/Rankings"; import { get_map_summary, get_map_leaderboard, @@ -19,14 +19,14 @@ import { delete_map_discussion, post_record, delete_map_record, -} from '@api/Maps'; +} from "@api/Maps"; import { delete_map_summary, post_map_summary, put_map_image, put_map_summary, -} from '@api/Mod'; -import { UploadRunContent } from '@customTypes/Content'; +} from "@api/Mod"; +import { UploadRunContent } from "@customTypes/Content"; // add new api call function entries here // example usage: API.get_games(); @@ -91,7 +91,7 @@ export const API = { delete_map_summary(token, map_id, route_id), }; -const BASE_API_URL: string = '/api/v1/'; +const BASE_API_URL: string = "/api/v1/"; export function url(path: string): string { return BASE_API_URL + path; -- cgit v1.2.3