mirror of
https://github.com/strapi/strapi.git
synced 2025-11-04 20:07:19 +00:00
fix: use the correct Strapi type
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
This commit is contained in:
parent
c6ec4ef645
commit
ed2c5e7152
@ -12,7 +12,7 @@ import createAuditLogsService from './services/audit-logs';
|
|||||||
import reviewWorkflowsMiddlewares from './middlewares/review-workflows';
|
import reviewWorkflowsMiddlewares from './middlewares/review-workflows';
|
||||||
import { getService } from './utils';
|
import { getService } from './utils';
|
||||||
|
|
||||||
export default async ({ strapi }: { strapi: Core.Strapi }) => {
|
export default async ({ strapi }: { strapi: Core.LoadedStrapi }) => {
|
||||||
const auditLogsIsEnabled = strapi.config.get('admin.auditLogs.enabled', true);
|
const auditLogsIsEnabled = strapi.config.get('admin.auditLogs.enabled', true);
|
||||||
|
|
||||||
if (auditLogsIsEnabled) {
|
if (auditLogsIsEnabled) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user