mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +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 { 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);
|
||||
|
||||
if (auditLogsIsEnabled) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user