Skip to content

Comments

added delete option for logged hours in "Requested" section#168

Open
spicy-pies wants to merge 1 commit intomainfrom
wit-251-delete-hours-backend
Open

added delete option for logged hours in "Requested" section#168
spicy-pies wants to merge 1 commit intomainfrom
wit-251-delete-hours-backend

Conversation

@spicy-pies
Copy link
Contributor

  • Added the deleteRequestedLog function in mentee.js
  • The route is: DELETE /mentee/delete-requested-log
  • It accepts { logId }
  • Check if zid exists
  • If does, then we check if the logs of that mentee is in "pending" state, and hence the respective logs are deleted from the hours table.
  • Handled fail cases

@railway-app
Copy link

railway-app bot commented Jul 25, 2025

This PR was not deployed automatically as @spicy-pies does not have access to the Railway project.

In order to get automatic PR deploys, please add @spicy-pies to your team on Railway.

@linear
Copy link

linear bot commented Jul 25, 2025

@spicy-pies spicy-pies changed the title Done with delete log given a particular log's logId added delete option for logged hours in "Requested" section Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant