mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 06:49:37 +02:00
Merge pull request #548 from lkiesow/users-reedirect
Prevent unnecessary redirect when requesting users
This commit is contained in:
commit
af2778ff61
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@
|
|||
if (modal) {
|
||||
modal.showModal();
|
||||
}
|
||||
let res = await fetch(`/auth/users/`);
|
||||
let res = await fetch(`/auth/users`);
|
||||
if (res.ok) {
|
||||
let data = await res.json();
|
||||
allUsers = data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue