diff --git a/payload/src/collections/Posts.ts b/payload/src/collections/Posts.ts index c5ae35c..65a7110 100644 --- a/payload/src/collections/Posts.ts +++ b/payload/src/collections/Posts.ts @@ -18,7 +18,7 @@ const Posts: CollectionConfig = { try { console.log( await fetch( - "https://api.github.com/repos/mooxl/astroad/dispatches", + `https://api.github.com/repos/mooxl/${process.env.name}/dispatches`, { method: "POST", headers: {