add node-fetch

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt
2023-05-17 18:43:20 +02:00
parent b961ec8268
commit ef3b65b1c0
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import { CollectionConfig } from "payload/types";
import fetch from "node-fetch";
const Posts: CollectionConfig = {
slug: "posts",
admin: {