core: fix domain dashboard

This commit is contained in:
undefined committed 2024-01-05 20:31:19 +08:00
1 parent 891ddcc094
commit 353935d3cf
2 files changed
+4 -5

No files matched your search

-2
View File
@@ -73,8 +73,6 @@ class DomainRankHandler extends Handler {
}
class ManageHandler extends Handler {
domain: DomainDoc;
async prepare({ domainId }) {
this.checkPerm(PERM.PERM_EDIT_DOMAIN);
this.domain = await domain.get(domainId);