diff --git a/src/bin/vip-sync.generated.d.ts b/src/bin/vip-sync.generated.d.ts index 6c956a538..5c114cd43 100644 --- a/src/bin/vip-sync.generated.d.ts +++ b/src/bin/vip-sync.generated.d.ts @@ -14,7 +14,6 @@ export type SyncEnvironmentMutationMutation = { export type AppQueryVariables = Types.Exact< { id?: Types.InputMaybe< Types.Scalars[ 'Int' ][ 'input' ] >; - sync?: Types.InputMaybe< Types.Scalars[ 'Int' ][ 'input' ] >; } >; export type AppQuery = { diff --git a/src/bin/vip-sync.js b/src/bin/vip-sync.js index 02e4d6248..3e258da4b 100755 --- a/src/bin/vip-sync.js +++ b/src/bin/vip-sync.js @@ -118,7 +118,7 @@ command( { api .query( { query: gql` - query App($id: Int, $sync: Int) { + query App($id: Int) { app(id: $id) { id name @@ -128,7 +128,7 @@ command( { defaultDomain branch datacenter - syncProgress(sync: $sync) { + syncProgress { status sync steps { @@ -143,7 +143,6 @@ command( { fetchPolicy: 'network-only', variables: { id: opts.app.id, - sync: environment.syncProgress.sync, }, } ) .then( res => res.data.app )