Merge branch 'dev' into gruppDM

This commit is contained in:
Davenludd 2024-04-15 11:59:40 +02:00
commit 90d24ad7c4

View file

@ -38,6 +38,10 @@ func GetStatistics(c *fiber.Ctx) error {
return c.Status(403).SendString("Unauthorized access")
}
if pm && userNameParam != "" {
username = userNameParam
}
// Retrieve statistics for the project from the database
statistics, err := db.GetDb(c).ReportStatistics(username, projectName)
if err != nil {