From 2aafdec40bf8dacb9c5242d4905972074e57a65c Mon Sep 17 00:00:00 2001 From: Spectralitree <72747870+Spectralitree@users.noreply.github.com> Date: Mon, 19 Jul 2021 09:46:22 +0200 Subject: [PATCH] fix profile lists with public member lists --- src/Components/Public/ProfileList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Public/ProfileList.js b/src/Components/Public/ProfileList.js index 7ea2d220..3a392d8b 100644 --- a/src/Components/Public/ProfileList.js +++ b/src/Components/Public/ProfileList.js @@ -39,7 +39,7 @@ export default function Memberlist() { if (res.status === 403) { throw new Error('Access denied!'); } - res.json() + return res.json() } ).then (data => { setMembers(data)