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

Added API to get signed docuements and upload to s3 bucket #33

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

sayan-betsol
Copy link
Collaborator

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
@@ -291,8 +342,11 @@ const uploadFile = async (req, res) => {

const userDetails = async (req, res) => {
try {
//pagination
const page = parseInt(req.query.page);
Copy link
Collaborator

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
Collaborator

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
Collaborator

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.

2 participants