mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
/api/mek/register/initial Endpoint 추가
This commit is contained in:
6
src/lib/server/modules/mek.ts
Normal file
6
src/lib/server/modules/mek.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { getInitialMek } from "$lib/server/db/mek";
|
||||
|
||||
export const isInitialMekNeeded = async (userId: number) => {
|
||||
const initialMek = await getInitialMek(userId);
|
||||
return !initialMek;
|
||||
};
|
||||
Reference in New Issue
Block a user