We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dba438 commit b47048eCopy full SHA for b47048e
src/controllers/v3/OrgAPISpecController.ts
@@ -55,13 +55,12 @@ export class OrgAPISpecController extends Controller {
55
56
@Get('/{org}/api_specs')
57
@OperationId('organization-get-api-specs')
58
- @Security('jwt', [])
59
//@Security('jwt', ['Namespace.Assign'])
60
public async get(
61
@Path() org: string,
62
@Request() request: any
63
): Promise<{ prodEnvId: string; spec: string }> {
64
- const ctx = await this.keystone.createContextithUser(request, true);
+ const ctx = await this.keystone.createContext(request, true);
65
const result = await GetAPISpecsByOrg(ctx, org);
66
logger.debug('OrgAPISpecController: %j', result);
67
return result;
0 commit comments