aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/api/Auth.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/api/Auth.ts')
-rw-r--r--frontend/src/api/Auth.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/api/Auth.ts b/frontend/src/api/Auth.ts
index 875c7e5..98c6d36 100644
--- a/frontend/src/api/Auth.ts
+++ b/frontend/src/api/Auth.ts
@@ -2,7 +2,7 @@ import axios from "axios";
2import { url } from "@api/Api"; 2import { url } from "@api/Api";
3 3
4export const get_token = async (): Promise<string | undefined> => { 4export const get_token = async (): Promise<string | undefined> => {
5 const response = await axios.get(url(`token`)) 5 const response = await axios.get(url(`token`));
6 if (!response.data.success) { 6 if (!response.data.success) {
7 return undefined; 7 return undefined;
8 } 8 }