2
0
yohei0125 4 жил өмнө
parent
commit
d25c725147

+ 1 - 1
packages/app/src/server/service/page.ts

@@ -2371,7 +2371,7 @@ class PageService {
       // then calculate inc
       const pageAfterUpdatingDescendantCount = await Page.findByIdAndViewer(page._id, user);
       if (pageAfterUpdatingDescendantCount == null) {
-        throw Error('Faild to fetch page after updating descendantCount');
+        throw Error('Failed to fetch page after updating descendantCount');
       }
 
       const exDescendantCount = page.descendantCount;