@ -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: {
|
||||||
|
Reference in New Issue
Block a user