Skip to content

Added buffer option to image upload - #206

Open
CCAtAlvis wants to merge 1 commit into
jlobos:masterfrom
CCAtAlvis:master
Open

Added buffer option to image upload#206
CCAtAlvis wants to merge 1 commit into
jlobos:masterfrom
CCAtAlvis:master

Conversation

@CCAtAlvis

Copy link
Copy Markdown

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
Copy Markdown

we need this

@itxtoledo itxtoledo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

please merge @jlobos

@itxtoledo itxtoledo left a comment

Copy link
Copy Markdown

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
Copy Markdown

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.

3 participants