From 053fdae38467d78f175bb08b6a6542a6a1bce1d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Thu, 25 Nov 2021 12:32:50 +0100 Subject: [PATCH] [api] revert user ssp --- api/src/stores/user.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/src/stores/user.ts b/api/src/stores/user.ts index f4fefe7..a5987b9 100644 --- a/api/src/stores/user.ts +++ b/api/src/stores/user.ts @@ -37,11 +37,9 @@ export const useUserStore = defineStore({ } }, - async getUsers(force = false, filter?: {userids: undefined|string}) { + async getUsers(force = false) { if (force || this._dirty_users) { - const { data } = await api.get('/users', { - params: filter - }); + const { data } = await api.get('/users'); data.forEach((user) => { if (user.birthday) user.birthday = new Date(user.birthday); });