fix: show files per user (#299)
This commit is contained in:
parent
34552926d1
commit
2d69cd580a
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ async function handler(req: NextApiReq, res: NextApiRes, user: UserExtended) {
|
|||
LIMIT ${amount}
|
||||
`;
|
||||
|
||||
if (config.website.show_files_per_user) {
|
||||
if (!config.website.show_files_per_user) {
|
||||
stats = stats.map((stat) => {
|
||||
(stat.data as any).count_by_user = [];
|
||||
return stat;
|
||||
|
|
Loading…
Add table
Reference in a new issue