Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Edric Li
2026-01-08 21:35:34 +08:00
8 changed files with 645 additions and 156 deletions

View File

@@ -144,7 +144,7 @@ func (h *UsageHandler) List(c *gin.Context) {
out := make([]dto.UsageLog, 0, len(records))
for i := range records {
out = append(out, *dto.UsageLogFromService(&records[i]))
out = append(out, *dto.UsageLogFromServiceAdmin(&records[i]))
}
response.Paginated(c, out, result.Total, page, pageSize)
}