Some checks failed
Build & Deploy / 🔍 Prepare (push) Failing after 21s
Build & Deploy / 🧪 QA (push) Has been skipped
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
14 lines
422 B
TypeScript
14 lines
422 B
TypeScript
"use server";
|
|
import { handleServerFunctions as payloadHandleServerFunctions } from "@payloadcms/next/layouts";
|
|
import config from "@payload-config";
|
|
// @ts-expect-error - Payload generates this file during the build process
|
|
import { importMap } from "./admin/importMap";
|
|
|
|
export const handleServerFunctions = async (args: any) => {
|
|
return payloadHandleServerFunctions({
|
|
...args,
|
|
config,
|
|
importMap,
|
|
});
|
|
};
|