diff options
Diffstat (limited to 'app/assets/javascripts/environments/services/environments_service.js')
-rw-r--r-- | app/assets/javascripts/environments/services/environments_service.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/environments/services/environments_service.js b/app/assets/javascripts/environments/services/environments_service.js index 8adb53ea86d..03ab74b3338 100644 --- a/app/assets/javascripts/environments/services/environments_service.js +++ b/app/assets/javascripts/environments/services/environments_service.js @@ -10,7 +10,8 @@ export default class EnvironmentsService { this.folderResults = 3; } - get(scope, page) { + get(options = {}) { + const { scope, page } = options; return this.environments.get({ scope, page }); } |