Skip to content

Commit

Permalink
Simplify label
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Oct 4, 2024
1 parent a3ab2a7 commit c4d7859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Web/Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public async Task<HttpResponseData> NuGetCountAsync([HttpTrigger(AuthorizationLe
await output.WriteAsJsonAsync(new
{
schemaVersion = 1,
label = $"nugets by {by}" ,
label = $"{by} nugets" ,
message = ((double)count).ToMetric(decimals: 1)
});

Expand Down Expand Up @@ -138,7 +138,7 @@ public async Task<HttpResponseData> NuGetDownloadsAsync([HttpTrigger(Authorizati
await output.WriteAsJsonAsync(new
{
schemaVersion = 1,
label = $"dl/day by {by}",
label = $"{by} dl/day",
message = ((double)count).ToMetric(decimals: 1)
});

Expand Down

0 comments on commit c4d7859

Please sign in to comment.