ReflectionsProjections / rp-api-2023

Core Backend API Layer for Reflections | Projections 2023, powered by Nest.js
MIT License
0 stars 0 forks source link

AuthGuard and Decorators for Attendees #22

Closed rohannunu closed 1 year ago

rohannunu commented 1 year ago

This PR adds AuthGuard to the create() function for Attendees, and adds decorators for required fields in create-attendee-dto for the validationPipe to work.

@xuxey @kajalpatelinfo @anandani4136 Requesting your review on this. Thank you!

kajalpatelinfo commented 1 year ago

Receiving a null-status CORS when attempting to send code with Unauthorized on the backend. Have spoken to Rohan about it.

Was a .env problem. Resolved.

github-actions[bot] commented 1 year ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
69.62% (+1.24% πŸ”Ό)
314/451
πŸ”΄ Branches 7.5% 3/40
πŸ”΄ Functions 30.51% 18/59
🟑 Lines
66.5% (+1.61% πŸ”Ό)
266/400

Test suite run success

12 tests passing in 10 suites.

Report generated by πŸ§ͺjest coverage report action from 629541b9f7dc2ffc0580b3c3ca6dab641391f1b7