From 623145d0009d683a50468ba9961431ae76ae6df6 Mon Sep 17 00:00:00 2001 From: Sergey Astapov Date: Mon, 28 Dec 2020 22:03:58 -0500 Subject: [PATCH] [DOC adapter] fix parent class invocation syntax (#7405) --- packages/adapter/addon/-private/build-url-mixin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/adapter/addon/-private/build-url-mixin.js b/packages/adapter/addon/-private/build-url-mixin.js index e612150652d..2d7cb39d42a 100644 --- a/packages/adapter/addon/-private/build-url-mixin.js +++ b/packages/adapter/addon/-private/build-url-mixin.js @@ -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); } } } @@ -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'; } } ``` @@ -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'; } } ```