Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
backout fix for 2647 to restore ability to issue id from explorer (#3143
Browse files Browse the repository at this point in the history
)

Signed-off-by: andrew-coleman <[email protected]>
  • Loading branch information
andrew-coleman authored and cazfletch committed Jan 11, 2018
1 parent d9c05c6 commit 0373f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/composer-rest-server/public/lib/loadSwaggerUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ $(function() {
// downloaded files are corrupted by Swagger UI :-(
function fixupOperation(op) {
if (op.nickname === 'Card_exportCard') {
op.produces = [ 'application/json', 'application/octet-stream' ];
op.produces = [ 'application/octet-stream' ];
} else if (op.nickname === 'System_issueIdentity') {
op.produces = [ 'application/json', 'application/octet-stream' ];
op.produces = [ 'application/octet-stream' ];
}
}

Expand Down

0 comments on commit 0373f96

Please sign in to comment.