Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Failing after 2m24s
Build & Deploy / 🏗️ Build (push) Failing after 3m40s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
13 lines
347 B
TypeScript
13 lines
347 B
TypeScript
"use server";
|
|
import { handleServerFunctions as payloadHandleServerFunctions } from "@payloadcms/next/layouts";
|
|
import config from "@payload-config";
|
|
import { importMap } from "./admin/importMap";
|
|
|
|
export const handleServerFunctions = async (args: any) => {
|
|
return payloadHandleServerFunctions({
|
|
...args,
|
|
config,
|
|
importMap,
|
|
});
|
|
};
|