🏗️ separate http and internal service

separate between internal and http service due security concern in auth module
This commit is contained in:
Rafi Arrafif
2025-08-07 23:07:53 +07:00
parent 0d71710b14
commit ac0b25fb62
9 changed files with 21 additions and 15 deletions

View File

@ -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 } }