fixed bug with latitude and longitude

This commit is contained in:
Alibek committed 2024-03-18 16:33:57 +06:00
1 parent 006a1a7b7b
commit c54131197e
5 files changed
+6 -19

No files matched your search

-12
View File
@@ -6,18 +6,6 @@ import { apiInstance } from "./apiConfig";
import { IRefresh, ITokens } from "../types/token-type";
import GoogleProvider from "next-auth/providers/google";
const verifyToken = async (access_token: string) => {
const res = await apiInstance.post("/token/verify/", {
token: access_token,
});
if ([200, 201].includes(res.status)) {
return true;
}
return false;
};
const refreshToken = async (token: JWT): Promise<JWT> => {
const UTC = new Date();