feat: tambah dependensi 'jose' versi 5.9.2 pada package.json
refactor: rapikan identasi dan buat field 'expires' opsional di model UserSession pada schema prisma chore: bersihkan import tidak terpakai di route login dan register API
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { Validasi } from "@/app_modules/auth";
|
||||
import { auth_getKodeOtpById } from "@/app_modules/auth/fun/get_kode_otp_by_id";
|
||||
import { ServerEnv } from "@/app/lib/server_env";
|
||||
|
||||
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
let kodeOtpId = params.id;
|
||||
const dataOtp = await auth_getKodeOtpById(kodeOtpId);
|
||||
|
||||
|
||||
return <Validasi dataOtp={dataOtp} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user