Skip to content

Commit

Permalink
fix: new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Mar 5, 2024
1 parent 8fe4543 commit 45739f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function syncState(
backendUrl: string
): Promise<object> {
const timestamp = Date.now()
const discover = await axios.get(`${echoUrl}/discover`, {
const discover = await axios.get(`${echoUrl}?action=discover`, {
headers: {
'x-novu-signature': `t=${timestamp},v1=${createHmac('sha256', novuApiKey)
.update(`${timestamp}.${JSON.stringify({})}`)
Expand All @@ -44,7 +44,7 @@ export async function syncState(
})

const sync = await axios.post(
`${backendUrl}/v1/chimera/sync?source=githubAction`,
`${backendUrl}/v1/echo/sync?source=githubAction`,
{
chimeraUrl: echoUrl,
workflows: discover.data.workflows
Expand Down

0 comments on commit 45739f1

Please sign in to comment.