fix: use the correct Strapi type

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
This commit is contained in:
Jean-Sébastien Herbaux 2024-03-12 09:57:32 +01:00 committed by GitHub
parent c6ec4ef645
commit ed2c5e7152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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