瀏覽代碼

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