Skip to content

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

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

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

Conversation

@spicy-pies

Copy link
Copy Markdown
Member
  • 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

railway-app Bot commented Jul 25, 2025

Copy link
Copy Markdown

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

linear Bot commented Jul 25, 2025

Copy link
Copy Markdown

@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