소스 검색

deactivate addActivity line temporarily

Yuki Takei 8 달 전
부모
커밋
ed7bdfff8f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      apps/app/src/pages/[[...path]]/server-side-props.ts

+ 2 - 1
apps/app/src/pages/[[...path]]/server-side-props.ts

@@ -62,7 +62,8 @@ export async function getServerSidePropsForInitial(context: GetServerSidePropsCo
     throw new Error('Invalid merged props structure');
   }
 
-  await addActivity(context, getActivityAction(mergedProps));
+  // -- TODO: persist activity
+  // await addActivity(context, getActivityAction(mergedProps));
   return mergedResult;
 }