From 5d5cb47a5ae3fb7ed3f5e8ada1a2e9a294de0ab5 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:47:45 +0530 Subject: [PATCH] fix: stats --- db-connector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-connector.go b/db-connector.go index af3759bf..289c02db 100755 --- a/db-connector.go +++ b/db-connector.go @@ -5361,7 +5361,7 @@ func GetPlatformHealth(ctx context.Context, limit int) ([]HealthCheckDB, error) } } else { - q := datastore.NewQuery(nameKey).Order("-updated").Limit(limit) + q := datastore.NewQuery(nameKey).Order("-Updated").Limit(limit) _, err := project.Dbclient.GetAll(ctx, q, &health) if err != nil {