diff options
| author | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 13:11:48 -0600 |
|---|---|---|
| committer | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 13:11:48 -0600 |
| commit | 81342e2579165ebfdb28c749dc5225141721a419 (patch) | |
| tree | 8e5759c20b92408048fe5ac44f48e2df2a00ab9b /frontend/src/api/Auth.ts | |
| parent | fixed issues with useCallback (diff) | |
| download | lphub-81342e2579165ebfdb28c749dc5225141721a419.tar.gz lphub-81342e2579165ebfdb28c749dc5225141721a419.tar.bz2 lphub-81342e2579165ebfdb28c749dc5225141721a419.zip | |
switched to double quotes
Diffstat (limited to 'frontend/src/api/Auth.ts')
| -rw-r--r-- | frontend/src/api/Auth.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/api/Auth.ts b/frontend/src/api/Auth.ts index e495d47..98c6d36 100644 --- a/frontend/src/api/Auth.ts +++ b/frontend/src/api/Auth.ts | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import axios from 'axios'; | 1 | import axios from "axios"; |
| 2 | import { url } from '@api/Api'; | 2 | import { url } from "@api/Api"; |
| 3 | 3 | ||
| 4 | export const get_token = async (): Promise<string | undefined> => { | 4 | export const get_token = async (): Promise<string | undefined> => { |
| 5 | const response = await axios.get(url(`token`)); | 5 | const response = await axios.get(url(`token`)); |
| @@ -10,5 +10,5 @@ export const get_token = async (): Promise<string | undefined> => { | |||
| 10 | }; | 10 | }; |
| 11 | 11 | ||
| 12 | export const delete_token = async () => { | 12 | export const delete_token = async () => { |
| 13 | await axios.delete(url('token')); | 13 | await axios.delete(url("token")); |
| 14 | }; | 14 | }; |