chore: add server-only import to appwrite client initialization

This commit is contained in:
ngc2207 2025-01-31 17:00:01 +08:00
parent 04c922c032
commit c97e2f4a3a

View File

@ -1,3 +1,5 @@
import "server-only";
import { Account, Client } from "node-appwrite"; import { Account, Client } from "node-appwrite";
export async function createAdminClient() { export async function createAdminClient() {