mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
9c6fad83c2
`/api/client/applications?strategyName=foo` now returns list of apps implementing that strategy!
15 lines
298 B
JavaScript
15 lines
298 B
JavaScript
'use strict';
|
|
|
|
module.exports = () => {
|
|
const _instances = [];
|
|
|
|
return {
|
|
insert: () => {
|
|
_instances.push();
|
|
return Promise.resolve();
|
|
},
|
|
getAll: () => Promise.resolve(_instances),
|
|
getApplications: () => Promise.resolve([]),
|
|
};
|
|
};
|