NGOWorld icon indicating copy to clipboard operation
NGOWorld copied to clipboard

Creating club events failed due to bug in api

Open Tineshnehete opened this issue 2 years ago • 4 comments

Description

Hey there when we loging as club and try to add new event it fails to add new event. Its actually a bug from the api . Api gets time out on making the api request to endpoint /club/createevent

Screenshots

Annotation 2022-10-18 230301

Additional information

I Am Intrested to fix it . Please assign it to me :)

🥦 Browser

Google Chrome

👀 Have you checked if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

Tineshnehete avatar Oct 18 '22 17:10 Tineshnehete

Hello contributor, thank you for opening an Issue 🎉.

Soon the maintainers/owner will review it and provide you with feedback/suggestions.
If you think it's something urgent, feel free to reach out Tamal Das on Twitter.
Star ⭐ this repo to show us support.

Happy, Open Source!

github-actions[bot] avatar Oct 18 '22 17:10 github-actions[bot]

Hello @Tineshnehete , once you are assigned to this and start contributing, I would like to draw your attention towards this file .

Clearly, the dotenv.config() method is called at line 12. However, the port variable uses process.env.port at line 8, which may result in some bug in production. It would be awesome if you can shift the dotenv.config() just after line 4 to eliminate any possible confusion.

All the best for your contribution 😄 , Happy Coding!!

SteveSayantan avatar Oct 19 '22 17:10 SteveSayantan

I thought this was too trivial to be addressed by opening a separate issue. That's why I asked you as you will be working with backend.

SteveSayantan avatar Oct 19 '22 19:10 SteveSayantan

@Tineshnehete , we can work on #501 and this issue all together !

  • You can start working on it , and make a single PR adressing the 2 issues.

tamalCodes avatar Oct 20 '22 18:10 tamalCodes