rewrite jwt set in login service

This commit is contained in:
rafiarrafif
2025-05-12 21:58:13 +07:00
parent ed8840ee1f
commit c72a06adb4
10 changed files with 9 additions and 25 deletions

View File

@ -1,6 +1,6 @@
import { Context } from "elysia";
import { createUserSessionService } from "../services/createUserSession.service";
import { getUserHeaderInformation } from "../../../helpers/cookies/userHeader/getUserHeaderInformation";
import { getUserHeaderInformation } from "../../../helpers/http/userHeader/getUserHeaderInformation";
import { mainErrorHandler } from "../../../helpers/error/handler";
import {
returnErrorResponse,

View File

@ -1,4 +1,4 @@
import { UserHeaderInformation } from "../../helpers/cookies/userHeader/getUserHeaderInformation/types";
import { UserHeaderInformation } from "../../helpers/http/userHeader/getUserHeaderInformation/types";
export interface createUserSessionServiceParams {
userId: string;