0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Removed unused field

refs https://github.com/TryGhost/Toolbox/issues/127

- Wasn't able to find any references to the "originalValue" field in permalinks, so removed it to keep the code clean and readable
This commit is contained in:
Naz 2021-11-15 19:38:41 +04:00
parent 042618fe93
commit e1ebbff3b5

View file

@ -27,7 +27,6 @@ class CollectionRouter extends ParentRouter {
this.rss = object.rss !== false; this.rss = object.rss !== false;
this.permalinks = { this.permalinks = {
originalValue: object.permalink,
value: object.permalink value: object.permalink
}; };