1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-04 20:55:19 +02:00

fix: Update URL path for user stats counts and remove email from response

This commit is contained in:
Sean Morley 2025-02-28 14:50:32 -05:00
parent 3c9aec4bfb
commit 4759ff71a1
2 changed files with 3 additions and 3 deletions

View file

@ -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')}`