Skip to content

Commit

Permalink
feat: round application summary
Browse files Browse the repository at this point in the history
  • Loading branch information
its-felix committed May 26, 2024
1 parent 4c71352 commit 876ffe2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ SELECT
return util.NewEchoPgxHTTPError(err)
}

res.Accounts -= res.Accounts % 50
res.ApiTokens -= res.ApiTokens % 50
res.AccVerifications -= res.AccVerifications % 50
res.Apps -= res.Apps % 5
res.AppClients -= res.AppClients % 5
res.AppClientAccs -= res.AppClientAccs % 50

return c.JSON(http.StatusOK, res)
})
}

0 comments on commit 876ffe2

Please sign in to comment.