Skip to content

Commit

Permalink
feat: wrong url for recover/ilness events
Browse files Browse the repository at this point in the history
  • Loading branch information
mgierada committed Jul 1, 2024
1 parent c0a22dc commit e402639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/utils/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
export const recordEvent = async (eventType) => {
const rootUrl = process.env.NEXT_PUBLIC_ROOT_API_URL;
const url = `${rootUrl}${eventType}`;
const url = `${rootUrl}/${eventType}`;

try {
const response = await fetch(url, {
Expand Down

0 comments on commit e402639

Please sign in to comment.