🏗️ separate http and internal service
separate between internal and http service due security concern in auth module
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { Context } from "elysia";
|
||||
import { returnWriteResponse } from "../../../helpers/callback/httpResponse";
|
||||
import { mainErrorHandler } from "../../../helpers/error/handler";
|
||||
import { googleCallbackService } from "../services/googleCallback.service";
|
||||
import { googleCallbackService } from "../services/http/googleCallback.service";
|
||||
|
||||
export const googleCallbackController = async (
|
||||
ctx: Context & { query: { code: string; state: string } }
|
||||
|
||||
Reference in New Issue
Block a user