diff --git a/src/categories/create.js b/src/categories/create.js index faae87a610..326545d76c 100644 --- a/src/categories/create.js +++ b/src/categories/create.js @@ -43,6 +43,10 @@ module.exports = function (Categories) { imageClass: 'cover', }; + if (data.backgroundImage) { + category.backgroundImage = data.backgroundImage; + } + plugins.fireHook('filter:category.create', { category: category, data: data }, next); }, function (data, next) {