mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
syntax fix..
This commit is contained in:
parent
3ff7b671c8
commit
8dc5ad6772
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
const eventType = require('../eventType');
|
||||
const logger = require('../logger');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const eventType = require('../eventType');
|
||||
const logger = require('../logger');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const FEATURE_COLUMNS = ['name', 'description', 'enabled', 'strategy_name', 'parameters'];
|
||||
|
||||
module.exports = function(db, eventStore) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
const eventType = require('../eventType');
|
||||
const logger = require('../logger');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const eventType = require('../eventType');
|
||||
const logger = require('../logger');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const STRATEGY_COLUMNS = ['name', 'description', 'parameters_template'];
|
||||
|
||||
module.exports = function(db, eventStore) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
const eventType = require('./eventType');
|
||||
const diff = require('deep-diff').diff;
|
||||
const eventType = require('./eventType');
|
||||
const diff = require('deep-diff').diff;
|
||||
|
||||
const strategyTypes = [
|
||||
eventType.strategyCreated,
|
||||
|
@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
const logger = require('../logger');
|
||||
const eventType = require('../eventType');
|
||||
const ValidationError = require('../error/ValidationError');
|
||||
const validateRequest = require('../error/validateRequest');
|
||||
const logger = require('../logger');
|
||||
const eventType = require('../eventType');
|
||||
const ValidationError = require('../error/ValidationError');
|
||||
const validateRequest = require('../error/validateRequest');
|
||||
|
||||
module.exports = function (app, config) {
|
||||
const featureDb = config.featureDb;
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
const Promise = require('bluebird');
|
||||
const logger = require('../logger');
|
||||
const eventType = require('../eventType');
|
||||
const NameExistsError = require('../error/NameExistsError');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const ValidationError = require('../error/ValidationError');
|
||||
const validateRequest = require('../error/validateRequest');
|
||||
const extractUser = require('../extractUser');
|
||||
const Promise = require('bluebird');
|
||||
const logger = require('../logger');
|
||||
const eventType = require('../eventType');
|
||||
const NameExistsError = require('../error/NameExistsError');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const ValidationError = require('../error/ValidationError');
|
||||
const validateRequest = require('../error/validateRequest');
|
||||
const extractUser = require('../extractUser');
|
||||
|
||||
module.exports = function (app, config) {
|
||||
const featureDb = config.featureDb;
|
||||
|
@ -1,7 +1,3 @@
|
||||
/**
|
||||
* TODO: we should also inject config and
|
||||
* services to the routes to ease testing.
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
exports.create = function (app, config) {
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
const Promise = require('bluebird');
|
||||
const eventType = require('../eventType');
|
||||
const logger = require('../logger');
|
||||
const NameExistsError = require('../error/NameExistsError');
|
||||
const ValidationError = require('../error/ValidationError');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const validateRequest = require('../error/validateRequest');
|
||||
const extractUser = require('../extractUser');
|
||||
const Promise = require('bluebird');
|
||||
const eventType = require('../eventType');
|
||||
const logger = require('../logger');
|
||||
const NameExistsError = require('../error/NameExistsError');
|
||||
const ValidationError = require('../error/ValidationError');
|
||||
const NotFoundError = require('../error/NotFoundError');
|
||||
const validateRequest = require('../error/validateRequest');
|
||||
const extractUser = require('../extractUser');
|
||||
|
||||
module.exports = function (app, config) {
|
||||
const strategyDb = config.strategyDb;
|
||||
|
Loading…
Reference in New Issue
Block a user