@forge/cli-shared
8.15.3-next.28.15.3-next.3
out/graphql/minimal-graphql-runner.js~
out/graphql/minimal-graphql-runner.jsModified+2−1
Index: package/out/graphql/minimal-graphql-runner.js
===================================================================
--- package/out/graphql/minimal-graphql-runner.js
+++ package/out/graphql/minimal-graphql-runner.js
@@ -1,8 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MinimalGraphQLRunner = exports.GraphqlError = exports.GraphQLProviderServiceError = exports.InsufficientScopesError = exports.OutdatedClientVersionError = exports.GraphQLAuthenticationError = exports.BUSINESS_UNITS = exports.NON_PROD_BUSINESS_UNIT = exports.PROD_BUSINESS_UNIT = exports.SERVICE_NAME = void 0;
const graphql_request_1 = require("graphql-request");
+const instruction_1 = require("../auth/instruction");
const index_1 = require("../index");
const shared_1 = require("../shared");
const ui_1 = require("../ui");
exports.SERVICE_NAME = 'forge-cli';
@@ -27,9 +28,9 @@
}
exports.OutdatedClientVersionError = OutdatedClientVersionError;
class InsufficientScopesError extends shared_1.UserError {
constructor() {
- super(ui_1.Text.graphQL.insufficientScopes);
+ super(ui_1.Text.graphQL.insufficientScopes((0, instruction_1.getInstructionsUrl)()));
}
}
exports.InsufficientScopesError = InsufficientScopesError;
class GraphQLProviderServiceError extends shared_1.BaseError {