Real-Dev-Squad / website-backend

The backend code for all our website-related apps
https://api.realdevsquad.com/
MIT License
55 stars 258 forks source link

the commit adds the username and id of approver and date of approval using authentication userData #2194

Open Divyank-29 opened 1 month ago

Divyank-29 commented 1 month ago

04/10/2024

Divyank Somani


Issue Ticket Number

https://github.com/Real-Dev-Squad/website-dashboard/issues/838

Description

When a superuser accepts the extension request it adds the username and id and timestamp of approval.

Documentation Updated?

Under Feature Flag

Database Changes

It adds the approver, Id and timestamp of approval when status is updated to db

Breaking Changes

Development Tested?

Screenshots

Screenshot 1 It adds the approver name , id and timestamp at the time of approval. ![Screenshot 2024-10-04 170941](https://github.com/user-attachments/assets/da0f6674-c5a4-48a3-9219-3b6bed0e5336)

Test Coverage

Screenshot 1 ![Screenshot 2024-10-04 170033](https://github.com/user-attachments/assets/cd20ff38-be64-4c67-863d-0090729d12f3) ![Screenshot 2024-10-04 170210](https://github.com/user-attachments/assets/a53e2b85-5d12-4684-91df-64311bfec849)

Additional Notes