mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
chore: project
This commit is contained in:
@@ -29,7 +29,7 @@ export class OpenCertController extends BaseOpenController {
|
||||
const openKey: OpenKey = this.ctx.openKey;
|
||||
const userId = openKey.userId;
|
||||
|
||||
if (!userId) {
|
||||
if (userId==null) {
|
||||
throw new CodeException(Constants.res.openKeyError);
|
||||
}
|
||||
const projectId = openKey.projectId;
|
||||
|
||||
Reference in New Issue
Block a user