Skip to content

Commit

Permalink
[DOC adapter] fix parent class invocation syntax (#7405)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov authored Dec 29, 2020
1 parent d634ddf commit 623145d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/adapter/addon/-private/build-url-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default Mixin.create({
case 'repo':
return `https://api.github.com/orgs/${query.orgId}/repos`;
default:
return this._super(...arguments);
return super.urlForQuery(...arguments);
}
}
}
Expand Down Expand Up @@ -317,7 +317,7 @@ export default Mixin.create({
export default class ApplicationAdapter extends RESTAdapter {
urlForCreateRecord(modelName, snapshot) {
return this._super(...arguments) + '/new';
return super.urlForCreateRecord(...arguments) + '/new';
}
}
```
Expand Down Expand Up @@ -366,7 +366,7 @@ export default Mixin.create({
export default class ApplicationAdapter extends RESTAdapter {
urlForDeleteRecord(id, modelName, snapshot) {
return this._super(...arguments) + '/destroy';
return super.urlForDeleteRecord(...arguments) + '/destroy';
}
}
```
Expand Down

0 comments on commit 623145d

Please sign in to comment.