From ca3d36cc50e84fa3253188a4ecb6c3d98c2ab07a Mon Sep 17 00:00:00 2001 From: Mateusz Ziarko Date: Mon, 26 Apr 2021 08:08:42 +0200 Subject: [PATCH] fix: compatibility with strapi 3.6.x --- README.md | 2 +- config/functions/bootstrap.js | 2 +- package.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 874f02ea..de051d0d 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Complete installation requirements are exact same as for Strapi itself and can b **Supported Strapi versions**: -- Strapi v3.5.3 (recently tested) +- Strapi v3.6.0 (recently tested) - Strapi v3.x (This plugin may work with the older Strapi versions, but these are not tested nor officially supported at this time.) diff --git a/config/functions/bootstrap.js b/config/functions/bootstrap.js index a71d943a..2ff312f5 100755 --- a/config/functions/bootstrap.js +++ b/config/functions/bootstrap.js @@ -38,5 +38,5 @@ module.exports = async () => { } const { actionProvider } = strapi.admin.services.permission; - actionProvider.register(actions); + await actionProvider.registerMany(actions); }; diff --git a/package.json b/package.json index 8573df27..b5a48742 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strapi-plugin-navigation", - "version": "1.0.0", + "version": "1.0.1", "description": "Strapi - Navigation plugin", "strapi": { "name": "Navigation", @@ -27,8 +27,8 @@ "reactstrap": "8.4.1", "redux-saga": "^0.16.0", "request": "^2.83.0", - "strapi-helper-plugin": "3.5.3", - "strapi-utils": "3.5.3", + "strapi-helper-plugin": "3.6.0", + "strapi-utils": "3.6.0", "uuidv4": "^6.2.6", "slugify": "^1.4.5", "pluralize": "^8.0.0"