Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 891f9c2

Browse files
committed
Fix(cms): Rollback
1 parent 2b38e48 commit 891f9c2

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

cms/src/config/seed/users.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
interface Strapi {
2-
entityService: {
3-
count: (entity: string) => Promise<number>;
4-
create: (entity: string, data: { data: any }) => Promise<any>;
5-
};
6-
}
7-
8-
export async function seedUsers(strapi:Strapi){
1+
export async function seedUsers(strapi:any){
92
const amountOfUsers = 10;
103
try {
114
const count = await strapi.entityService.count("plugin::users-permissions.user");

cms/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { seedUsers } from "./config/seed/users";
2-
import { Strapi } from "@strapi/strapi";
32

43
export default {
54
/**

0 commit comments

Comments
 (0)