Fix github API endpoint in Posts.ts
This commit is contained in:
parent
1acdb2a58e
commit
9e94b582d8
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user