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 buffer option to image upload #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CCAtAlvis
Copy link

Checks if the provided photo is a Buffer
If its already a buffer, photo buffer is assigned to file
Else its goes on to check isUrl() and finally fs.readFileSync() like before

Checks if the provided photo is a Buffer
If its already a buffer, photo buffer is assigned to file
Else its goes on to check isUrl() and finally fs.readFileSync() like before
@itxtoledo
Copy link

we need this

Copy link

@itxtoledo itxtoledo left a comment

Choose a reason for hiding this comment

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

please merge @jlobos

Copy link

@itxtoledo itxtoledo left a comment

Choose a reason for hiding this comment

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

LGTM

@XeraFiu-YTB
Copy link

It's works fine.

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.

None yet

3 participants