mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed dead code
refs d698a2b431
- This code is not needed since the switch to "allowlist" approach
This commit is contained in:
parent
d698a2b431
commit
02ea81fdda
1 changed files with 0 additions and 17 deletions
|
@ -81,23 +81,6 @@ const expectedProperties = {
|
|||
]
|
||||
};
|
||||
|
||||
_.each(expectedProperties, (value, key) => {
|
||||
if (!value.__wrapped__) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated: x_by
|
||||
*/
|
||||
expectedProperties[key] = value
|
||||
.without(
|
||||
'created_by',
|
||||
'updated_by',
|
||||
'published_by'
|
||||
)
|
||||
.value();
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
API: {
|
||||
getApiQuery(route) {
|
||||
|
|
Loading…
Add table
Reference in a new issue