jam411 пре 3 година
родитељ
комит
6f18d47ab1
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/app/src/pages/login/[[...path]].page.tsx

+ 2 - 2
packages/app/src/pages/login/[[...path]].page.tsx

@@ -127,10 +127,10 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
     props.currentUser = user.toObject();
     props.currentUser = user.toObject();
   }
   }
   if (invitedForm.username != null) {
   if (invitedForm.username != null) {
-    props.invitedFormUsername = req.body.invitedForm.username.toObject();
+    props.invitedFormUsername = req.body.invitedForm.username;
   }
   }
   if (invitedForm.name != null) {
   if (invitedForm.name != null) {
-    props.invitedFormName = req.body.invitedForm.name.toObject();
+    props.invitedFormName = req.body.invitedForm.name;
   }
   }
 
 
   injectServerConfigurations(context, props);
   injectServerConfigurations(context, props);