refactor(User): rename createAdminUser with createAdmin

This commit is contained in:
Ali BARIN
2024-05-13 14:09:09 +00:00
parent c80791267f
commit 5a83fc33ec
2 changed files with 2 additions and 2 deletions

View File

@@ -373,7 +373,7 @@ class User extends Base {
return apps;
}
static async createAdminUser({ email, password, fullName }) {
static async createAdmin({ email, password, fullName }) {
const adminRole = await Role.findAdmin();
const adminUser = await this.query().insert({