Browse Source

fix lint error

Shun Miyazawa 3 months ago
parent
commit
844227a36f
1 changed files with 5 additions and 3 deletions
  1. 5 3
      apps/app/src/server/service/page/index.ts

+ 5 - 3
apps/app/src/server/service/page/index.ts

@@ -213,9 +213,11 @@ class PageService implements IPageService {
         }
         }
 
 
         try {
         try {
-          const Page = mongoose.model<HydratedDocument<PageDocument>, PageModel>(
-            'Page',
-          );
+          const Page = mongoose.model<
+            HydratedDocument<PageDocument>,
+            PageModel
+          >('Page');
+
           const page = await Page.findById(pageId);
           const page = await Page.findById(pageId);
 
 
           if (page == null) {
           if (page == null) {