Skip to content

Commit

Permalink
fix: sample unavailable when no schema in response object
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 5, 2017
1 parent bb00dc3 commit 1eedbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/SchemaSample/schema-sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class SchemaSample extends BaseComponent implements OnInit {
init() {
this.bindEvents();

let base:any = {};
let base:any = this.componentSchema;
let sample;

// got pointer not directly to the schema but e.g. to the response obj
Expand Down

0 comments on commit 1eedbfe

Please sign in to comment.