hallo
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
ffae1a02e9
commit
b961ec8268
@ -15,6 +15,7 @@ const Posts: CollectionConfig = {
|
|||||||
afterChange: [
|
afterChange: [
|
||||||
async () => {
|
async () => {
|
||||||
console.log("HALLO");
|
console.log("HALLO");
|
||||||
|
try {
|
||||||
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: {
|
||||||
@ -25,6 +26,9 @@ const Posts: CollectionConfig = {
|
|||||||
event_type: "payload_update",
|
event_type: "payload_update",
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user