@forge/cli-shared
9.7.0-next.15-experimental-554d4179.7.0-next.14-experimental-fd0ebbc
out/graphql/app-oauth-client-id-graphql-client.js~
out/graphql/app-oauth-client-id-graphql-client.jsModified+3−2
Index: package/out/graphql/app-oauth-client-id-graphql-client.js
===================================================================
--- package/out/graphql/app-oauth-client-id-graphql-client.js
+++ package/out/graphql/app-oauth-client-id-graphql-client.js
@@ -1,15 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AppOauthClientGraphqlClient = void 0;
+const gql_1 = require("./gql/gql");
const index_1 = require("./index");
class AppOauthClientGraphqlClient {
graphqlClient;
constructor(graphqlClient) {
this.graphqlClient = graphqlClient;
}
async getAppOauthClientIdDetails(appAri, environmentKey) {
- const query = `
+ const query = (0, gql_1.graphql)(`
query forge_cli_getAppOauthClientIdDetails($id: ID!, $key: String!) {
app(id: $id) {
name
environmentByKey(key: $key) {
@@ -20,9 +21,9 @@
}
}
}
}
- `;
+ `);
const result = await this.graphqlClient.query(query, {
id: appAri,
key: environmentKey
});