Cài đặt thành công tính năng người dùng đầu tiên phải đăng ký tài khoản để quản lí
This commit is contained in:
Vendored
+1
@@ -35,6 +35,7 @@ let AuthController = class AuthController {
|
||||
}
|
||||
async getStatus() {
|
||||
const userCount = await this.prisma.user.count();
|
||||
console.log(`[Status Check] Users found: ${userCount}`);
|
||||
return { isInitialSetup: userCount === 0 };
|
||||
}
|
||||
async signup(body) {
|
||||
|
||||
Reference in New Issue
Block a user