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

JCN-432 Modificar get object para retornar buffer #21

Merged

Conversation

gastonpereyra
Copy link
Contributor

LINK AL TICKET
https://janiscommerce.atlassian.net/browse/JCN-431

DESCRIPCIÓN DEL REQUERIMIENTO
Se necesita actualizar el package de S3 para que al usar el método de getObject en la propiedad Body sea de tipo Buffer .

A raiz de la actualización al uso del SDK v3 de AWS, esta propiedad llega en formato Readable , este formato hace que todos los usos en Janis salgan mal generar todo tipo de errores.

DESCRIPCIÓN DE LA SOLUCIÓN
Se modificó el metodo S3.getObject para que retorne un Buffer en el Body.
También se agregó un método S3.getObjectRaw para que funcione con la respuesta original.

@gastonpereyra gastonpereyra added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Jun 9, 2023
@gastonpereyra gastonpereyra self-assigned this Jun 9, 2023
@manuelvilche manuelvilche merged commit ea967ea into master Jun 9, 2023
2 checks passed
@manuelvilche manuelvilche deleted the JCN-432-Modificar-getObject-para-retornar-buffer branch June 9, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants