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

db.updateUser and db.replaceUser using wrong urls #783

Closed
fspegni opened this issue Jan 31, 2023 · 0 comments
Closed

db.updateUser and db.replaceUser using wrong urls #783

fspegni opened this issue Jan 31, 2023 · 0 comments
Assignees
Labels
Bug A code defect that needs to be fixed.

Comments

@fspegni
Copy link

fspegni commented Jan 31, 2023

The functions updateUser and replaceUser in the database.ts file (here) seems to point towards wrong urls:

...
        path: `/api/user/${encodeURIComponent(username)}`,
...

instead of:

...
        path: `/_api/user/${encodeURIComponent(username)}`,
...

(note the underscore in /_api)

@pluma4345 pluma4345 added the Bug A code defect that needs to be fixed. label Apr 26, 2023
@pluma4345 pluma4345 self-assigned this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A code defect that needs to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants