From c6e7e58482a2a289a657aafab8cd921467204682 Mon Sep 17 00:00:00 2001 From: Raymond Cheng Date: Tue, 23 Apr 2024 19:07:11 -0700 Subject: [PATCH] fix: frontend (#1284) * There was a broken query: `source` no longer existed on code_metrics, which caused a confusing generic "Apollo database error" * Updated the Hasura API limits, just because --- apps/frontend/lib/graphql/queries.ts | 1 - apps/hasura/metadata/api_limits.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/frontend/lib/graphql/queries.ts b/apps/frontend/lib/graphql/queries.ts index 343862f3e..f310ad39c 100644 --- a/apps/frontend/lib/graphql/queries.ts +++ b/apps/frontend/lib/graphql/queries.ts @@ -149,7 +149,6 @@ const GET_CODE_METRICS_BY_PROJECT = gql(` project_id project_name stars - source repositories pull_requests_opened_6_months pull_requests_merged_6_months diff --git a/apps/hasura/metadata/api_limits.yaml b/apps/hasura/metadata/api_limits.yaml index 31747f9e3..f185f50c4 100644 --- a/apps/hasura/metadata/api_limits.yaml +++ b/apps/hasura/metadata/api_limits.yaml @@ -19,5 +19,5 @@ time_limit: global: 60 per_role: anonymous: 5 - user: 10 + user: 15 developer: 60