Statistics TS API

This commit is contained in:
Imbus 2024-04-15 11:50:38 +02:00
parent a3f16e713a
commit d46c5fc05f

View file

@ -982,7 +982,7 @@ export const api: API = {
): Promise<APIResponse<Statistics>> { ): Promise<APIResponse<Statistics>> {
try { try {
const response = await fetch( const response = await fetch(
`/api/getStatistics/?projectName=${projectName}?userName=${userName ?? ""}`, `/api/getStatistics/?projectName=${projectName}&userName=${userName ?? ""}`,
{ {
method: "GET", method: "GET",
headers: { headers: {