mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +01:00
fix: move delete tag
This commit is contained in:
parent
9c83572eb4
commit
3901193b82
@ -53,19 +53,19 @@ class FeatureController extends Controller {
|
|||||||
this.toggleOff,
|
this.toggleOff,
|
||||||
UPDATE_FEATURE,
|
UPDATE_FEATURE,
|
||||||
);
|
);
|
||||||
this.delete(
|
|
||||||
'/:featureName/tags/:type/:value',
|
|
||||||
this.removeTag,
|
|
||||||
UPDATE_FEATURE,
|
|
||||||
);
|
|
||||||
this.post('/:featureName/stale/on', this.staleOn, UPDATE_FEATURE);
|
this.post('/:featureName/stale/on', this.staleOn, UPDATE_FEATURE);
|
||||||
this.post('/:featureName/stale/off', this.staleOff, UPDATE_FEATURE);
|
this.post('/:featureName/stale/off', this.staleOff, UPDATE_FEATURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.post('/validate', this.validate, NONE);
|
this.post('/validate', this.validate, NONE);
|
||||||
|
|
||||||
this.get('/:featureName/tags', this.listTags);
|
this.get('/:featureName/tags', this.listTags);
|
||||||
this.post('/:featureName/tags', this.addTag, UPDATE_FEATURE);
|
this.post('/:featureName/tags', this.addTag, UPDATE_FEATURE);
|
||||||
|
this.delete(
|
||||||
|
'/:featureName/tags/:type/:value',
|
||||||
|
this.removeTag,
|
||||||
|
UPDATE_FEATURE,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||||
|
Loading…
Reference in New Issue
Block a user