Skip to content

Conversation

@sayan-betsol
Copy link

Added api to get signed documents and upload to s3

@sayan-betsol sayan-betsol changed the title D upload signed document sayan Added API to get signed docuements and upload to s3 bucket Sep 20, 2022
const userDetails = async (req, res) => {
try {
//pagination
const page = parseInt(req.query.page);
Copy link
Contributor

Choose a reason for hiding this comment

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

can you remove this


//req.file.mimetype != "image/jpeg" ||req.file.mimetype != "image/png"
if (req.path === "/uploadSignedDocuments") {
if (!req.file) {
Copy link
Contributor

Choose a reason for hiding this comment

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

add check for file type

@pramodjanardhana
Copy link
Contributor

This branch will not be merged until the document signing approach is confirmed.

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.

3 participants