Removed dead code

refs d698a2b431

- This code is not needed since the switch to "allowlist" approach
This commit is contained in:
Naz 2021-05-13 16:20:28 +04:00
parent d698a2b431
commit 02ea81fdda

View File

@ -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) {