fix: Update URL path for user stats counts and remove email from response
This commit is contained in:
@@ -21,7 +21,7 @@ export const load = (async (event) => {
|
||||
let stats = null;
|
||||
|
||||
let res = await event.fetch(
|
||||
`${serverEndpoint}/api/stats/counts/${event.locals.user.username}`,
|
||||
`${serverEndpoint}/api/stats/counts/${event.locals.user.username}/`,
|
||||
{
|
||||
headers: {
|
||||
Cookie: `sessionid=${event.cookies.get('sessionid')}`
|
||||
|
||||
Reference in New Issue
Block a user