Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented update pdf endpoint #37

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Implemented update pdf endpoint #37

merged 2 commits into from
Dec 1, 2023

Conversation

3milyfz
Copy link
Member

@3milyfz 3milyfz commented Nov 30, 2023

Description

  • Added endpoint to update existing pdf
  • Tested on postman and works with frontend locally

@3milyfz 3milyfz requested review from sarinali and zjayee November 30, 2023 19:45
@3milyfz 3milyfz self-assigned this Nov 30, 2023
@3milyfz 3milyfz requested a review from lucieyang1 November 30, 2023 19:45
@sarinali
Copy link
Collaborator

sarinali commented Dec 1, 2023

Good work, I liked how its consistent with the other endpoints in files so it feels really cohesive!

Comments:

  • Please write a test to ensure functionality works as expected
  • Please include a recording for visual confirmation

@@ -103,4 +103,28 @@ public ResponseEntity<Object> addPDFToSession(@RequestParam("file") MultipartFil
return new ResponseEntity<>(e.getMessage(), headers, HttpStatus.BAD_REQUEST);
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javadoc required, we can do this later tho

@3milyfz 3milyfz requested a review from sarinali December 1, 2023 19:06
Copy link
Collaborator

@sarinali sarinali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@3milyfz 3milyfz merged commit f9a664e into master Dec 1, 2023
1 check passed
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.

2 participants