From c287f5dfd7a0111fb043318cffbcd06e3a632916 Mon Sep 17 00:00:00 2001 From: minnakt <47064971+minnakt@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:06:31 -0400 Subject: [PATCH] DEVPROD-5460: Remove id argument from repo queries (#36) --- apps/spruce/src/gql/queries/repo-event-logs.graphql | 2 +- apps/spruce/src/gql/queries/repo-settings.graphql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spruce/src/gql/queries/repo-event-logs.graphql b/apps/spruce/src/gql/queries/repo-event-logs.graphql index 57b703dee..abf304a6b 100644 --- a/apps/spruce/src/gql/queries/repo-event-logs.graphql +++ b/apps/spruce/src/gql/queries/repo-event-logs.graphql @@ -1,7 +1,7 @@ #import "../fragments/projectSettings/projectEventSettings.graphql" query RepoEventLogs($id: String!, $limit: Int, $before: Time) { - repoEvents(id: $id, repoId: $id, limit: $limit, before: $before) { + repoEvents(repoId: $id, limit: $limit, before: $before) { count eventLogEntries { after { diff --git a/apps/spruce/src/gql/queries/repo-settings.graphql b/apps/spruce/src/gql/queries/repo-settings.graphql index 138acaf45..7f36a9c65 100644 --- a/apps/spruce/src/gql/queries/repo-settings.graphql +++ b/apps/spruce/src/gql/queries/repo-settings.graphql @@ -1,7 +1,7 @@ #import "../fragments/projectSettings/index.graphql" query RepoSettings($repoId: String!) { - repoSettings(id: $repoId, repoId: $repoId) { + repoSettings(repoId: $repoId) { ...RepoSettingsFields } }