prayansh_chhablani

Results 86 comments of prayansh_chhablani

when I tried to register using the LAST_RESORT_SUPERADMIN_EMAIL email address, a toast notifcation came "wait for admin approval" is this the issue? (refer to pic) ![image](https://github.com/user-attachments/assets/c9f23e95-dbfc-470e-9e13-74ea5a54d757)

this can also be the reason logs in talawa-api container ` talawa-api-dev | [0] error 2025-02-15 13:19:53 gpq6enr4bn Transaction already in progress {"locations":[{"line":2,"column":3}],"path":["eventsByOrganizationConnection"],"extensions":{"code":"INTERNAL_SERVER_ERROR","stacktrace":["MongoTransactionError: Transaction already in progress"," at ClientSession.startTransaction (/usr/src/app/node_modules/mongoose/node_modules/mongodb/src/sessions.ts:374:13)","...

I think this is a transaction error, I have introduced a check in the code that checks whether there is a existing transaction, if there is no existing transaction then...

![Image](https://github.com/user-attachments/assets/07bf35ff-901f-44a0-bf8e-dff42604ec40) this is causing a CSRF error ![Image](https://github.com/user-attachments/assets/3ed7aaa6-a1b0-4cc9-aac0-05f1f7f433e9) I am trying to understand how this was working perviously can u assign me this?

the original issue is not arising from login page, however I did look into that, the problem is /graphql is giving CSRF error on GET requests. Results in terminal ![Image](https://github.com/user-attachments/assets/f86dc974-a75a-467f-b473-7e57a1567a2f)...

> > this is the error community is null ![Image](https://github.com/user-attachments/assets/87488305-8016-46b9-9a7c-88d881479b8a) > > ![Image](https://github.com/user-attachments/assets/44ec8e2e-3537-42aa-ac9b-e579aef80c41) > > ![Image](https://github.com/user-attachments/assets/6fbb272f-1875-41a0-9c88-5f3abd302cdc) > > we don't have any sample data for community, this is not a...

> This was working before. > > 1. Why are recurring events being involved when selecting an organization? > 2. Why does the login page briefly appear before the error...

![Image](https://github.com/user-attachments/assets/aa6c3dc9-a068-4589-ac46-86a9435e62bb) 1. login screen briefly flashes beacuse of this, the error happens due to loading events data, as there is Transaction error in recurrenceRules and hence events query fails, so...