mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-06-29 13:43:58 +00:00
feat: add example environment configuration file and update .gitignore to include .env files
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m35s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m35s
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
"use server";
|
||||
import type { TNationalPerson } from "@/lib/types";
|
||||
import { User } from "./types/user";
|
||||
import type { User } from "./types/user";
|
||||
|
||||
export async function getNationalPerson({
|
||||
idCard,
|
||||
@ -18,7 +18,7 @@ export async function getNationalPerson({
|
||||
}
|
||||
|
||||
export async function VerifyUserDetails({ user }: { user: User }) {
|
||||
console.log(user)
|
||||
console.log(user);
|
||||
// const phoneNumber = String(user.phoneNumber).slice(4);
|
||||
// console.log({ phoneNumber });
|
||||
// const nationalData = await getNationalPerson({ idCard: user.id_card ?? "" });
|
||||
|
Reference in New Issue
Block a user