diff --git a/ui/mirage/config.js b/ui/mirage/config.js index a8ca27446..00dd3a3fd 100644 --- a/ui/mirage/config.js +++ b/ui/mirage/config.js @@ -207,6 +207,10 @@ export default function() { return this.serialize(allocations.where({ nodeId: params.id })); }); + this.post('/node/:id/eligibility', function({ nodes }, { params }) { + return this.serialize(nodes.find({ id: params.id })); + }); + this.get('/allocations'); this.get('/allocation/:id');