Skip to content

Commit

Permalink
Merge pull request #173 from alkem-io/develop
Browse files Browse the repository at this point in the history
Release: Fixed wrong callout endpoint (#172)
  • Loading branch information
valentinyanakiev authored Dec 23, 2022
2 parents 8afec6a + 04465ac commit 2ecacaa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alkemio-notifications",
"version": "0.6.2",
"version": "0.6.3",
"description": "Alkemio notifications service",
"author": "Alkemio Foundation",
"private": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ export class AlkemioUrlGenerator {
}

createCalloutURL(journeyURL: string, calloutNameID: string): string {
return `${journeyURL}/explore/callouts/${calloutNameID}`;
return `${journeyURL}/contribute/callouts/${calloutNameID}`;
}

createCardURL(
journeyURL: string,
calloutNameID: string,
cardNameID: string
): string {
return `${journeyURL}/explore/callouts/${calloutNameID}/aspects/${cardNameID}`;
return `${journeyURL}/contribute/callouts/${calloutNameID}/aspects/${cardNameID}`;
}

createCanvasURL(
journeyURL: string,
calloutNameID: string,
canvasNameID: string
): string {
return `${journeyURL}/explore/callouts/${calloutNameID}/canvases/${canvasNameID}`;
return `${journeyURL}/contribute/callouts/${calloutNameID}/canvases/${canvasNameID}`;
}

createOrganizationURL(orgNameID: string): string {
Expand Down

0 comments on commit 2ecacaa

Please sign in to comment.