From 05cf14e8b4bd1482ade7d577cf1bfa62104a1a10 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Thu, 11 Nov 2021 10:05:04 -0500 Subject: [PATCH] style: Remove commented mirage config for managed groups --- addons/api/mirage/config.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/addons/api/mirage/config.js b/addons/api/mirage/config.js index 74c6ad61e..9036f6653 100644 --- a/addons/api/mirage/config.js +++ b/addons/api/mirage/config.js @@ -524,19 +524,6 @@ export default function () { this.get('/managed-groups/:id'); this.del('/managed-groups/:id'); this.post('/managed-groups'); - // this.post( - // '/managed-groups/:idMethod', - // function ({ managedGroups }, { params: { idMethod } }) { - // const attrs = this.normalizedRequestAttrs(); - // const id = idMethod.split(':')[0]; - // const managedGroup = managedGroups.find(id); - // const updatedAttrs = { - // version: attrs.version, - // attributes: managedGroup.attributes, - // }; - // return managedGroup.update(updatedAttrs); - // } - // ); /* Uncomment the following line and the Response import above * Then change the response code to simulate error responses.