fix: don't use a named export, export an object

This commit is contained in:
Josh 2023-04-13 09:56:16 +01:00
parent 28d82d3333
commit 85ef76015c
2 changed files with 6 additions and 2 deletions

View File

@ -1 +1,5 @@
export { default as schema } from './schema';
import schema from './schema';
export default {
schema,
};

View File

@ -1,5 +1,5 @@
import type { Strapi } from '@strapi/strapi';
import { schema as auditLogContentType } from './content-types/audit-log';
import auditLogContentType from './content-types/audit-log';
interface Event {
action: string;