Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications api call fix #2905

Open
wants to merge 4 commits into
base: 4.0-dev
Choose a base branch
from
Open

Notifications api call fix #2905

wants to merge 4 commits into from

Conversation

ctanveer
Copy link

Description

undefined api call

Link to ticket

image

Type

  • Fix
  • Feature
  • Cleanup

Screenshot of the result

If your change affects the user interface, you should include a screenshot of the result with the pull request.

@ctanveer ctanveer requested a review from a team as a code owner January 20, 2025 14:43
@ctanveer ctanveer requested review from muhtasimhafiz and removed request for a team January 20, 2025 14:43
type: 'PATCH',
url: leantime.appUrl + '/api/notifications',
method: 'GET',
url: '/api/notifications',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need the appUrl otherwise subfolder installations will not work. Can you change the script section to be a module and then import instance-info.module.mjs
which contains appUrl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants