Skip to content

Commit

Permalink
fix(loadSpec): remove noAuth (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
whs authored and silasbw committed Jan 12, 2019
1 parent 7377a65 commit 4944fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swagger-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Request = require('./backends/request')

class Root extends Component {
_getSpec (pathname) {
return this.backend.http({ method: 'GET', pathname, noAuth: true })
return this.backend.http({ method: 'GET', pathname })
.then(res => {
return res.body
})
Expand Down

0 comments on commit 4944fba

Please sign in to comment.