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:
parent
3c9aec4bfb
commit
4759ff71a1
2 changed files with 3 additions and 3 deletions
|
@ -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')}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue