fix incorrect savedguilds as an admin
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
results for all users are returned when acting as an administrator, this is fine, but client-side filtering needs to be implemented, so these results don't muddy the UI
This commit is contained in:
parent
71b9b2f437
commit
73d72ce21e
@ -34,8 +34,8 @@ function makeQuerystring(filters, sort) {
|
||||
|
||||
// Saved Guilds
|
||||
|
||||
async function getSavedGuilds() {
|
||||
return await ajaxRequest("/api/saved-guilds/", "GET");
|
||||
async function getSavedGuilds(userId) {
|
||||
return await ajaxRequest(`/api/saved-guilds/?added_by=${userId}`, "GET");
|
||||
}
|
||||
|
||||
async function getSavedGuild(id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user