Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-17 18:33:35 +02:00
parent d5c4c23500
commit ffae1a02e9

View File

@ -14,6 +14,7 @@ const Posts: CollectionConfig = {
hooks: { hooks: {
afterChange: [ afterChange: [
async () => { async () => {
console.log("HALLO");
await fetch("https://api.github.com/repos/mooxl/astroad/dispatches", { await fetch("https://api.github.com/repos/mooxl/astroad/dispatches", {
method: "POST", method: "POST",
headers: { headers: {