🚧 (wip) get oauth url from backend
this function is under development and still need fixing
This commit is contained in:
9
features/auth/lib/getGoogleAuthUrl.ts
Normal file
9
features/auth/lib/getGoogleAuthUrl.ts
Normal file
@ -0,0 +1,9 @@
|
||||
"use server";
|
||||
import { api } from "@/shared/api/connector";
|
||||
|
||||
const getGoogleAuthUrl = async () => {
|
||||
const res = await api.get(`debug`);
|
||||
return res.json();
|
||||
};
|
||||
|
||||
export default getGoogleAuthUrl;
|
||||
Reference in New Issue
Block a user