@forge/cli

14.1.0-next.21-experimental-554d41714.1.0-next.19-experimental-fd0ebbc
out/deploy/deployer/deploy-monitor-graphql-client.js
~out/deploy/deployer/deploy-monitor-graphql-client.jsModified
+4−3
Index: package/out/deploy/deployer/deploy-monitor-graphql-client.js
===================================================================
--- package/out/deploy/deployer/deploy-monitor-graphql-client.js
+++ package/out/deploy/deployer/deploy-monitor-graphql-client.js
@@ -1,15 +1,16 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.DeployMonitorGraphqlClient = void 0;
+const cli_shared_1 = require("@forge/cli-shared");
 const trigger_deploy_graphql_client_1 = require("./trigger-deploy-graphql-client");
 class DeployMonitorGraphqlClient {
     graphqlClient;
     constructor(graphqlClient) {
         this.graphqlClient = graphqlClient;
     }
     async getDeployment({ appId, environmentKey, deploymentId }) {
-        const { appDeployment, requestId } = await this.graphqlClient.query(`
+        const { appDeployment, requestId } = await this.graphqlClient.query((0, cli_shared_1.graphql)(`
         query forge_cli_getApplicationDeploymentStatus($appId: ID!, $environmentKey: String!, $id: ID!) {
           appDeployment(appId: $appId, environmentKey: $environmentKey, id: $id) {
             status
             errorDetails {
@@ -22,9 +23,9 @@
               events {
                 __typename
                 stepName
                 createdAt
-                ...on AppDeploymentLogEvent {
+                ... on AppDeploymentLogEvent {
                   message
                   level
                 }
                 ... on AppDeploymentDisplayEvent {
@@ -36,9 +37,9 @@
               }
             }
           }
         }
-      `, {
+      `), {
             appId,
             environmentKey,
             id: deploymentId
         });