Browse Source

fix spelling

yohei0125 4 years ago
parent
commit
d25c725147
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/server/service/page.ts

+ 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;