Skip to content

Commit b47048e

Browse files
committed
still working on org api spec
1 parent 5dba438 commit b47048e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controllers/v3/OrgAPISpecController.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ export class OrgAPISpecController extends Controller {
5555

5656
@Get('/{org}/api_specs')
5757
@OperationId('organization-get-api-specs')
58-
@Security('jwt', [])
5958
//@Security('jwt', ['Namespace.Assign'])
6059
public async get(
6160
@Path() org: string,
6261
@Request() request: any
6362
): Promise<{ prodEnvId: string; spec: string }> {
64-
const ctx = await this.keystone.createContextithUser(request, true);
63+
const ctx = await this.keystone.createContext(request, true);
6564
const result = await GetAPISpecsByOrg(ctx, org);
6665
logger.debug('OrgAPISpecController: %j', result);
6766
return result;

0 commit comments

Comments
 (0)