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

[BUG] Issue with file formats when meditation file is uploaded #479

Open
k-mlch opened this issue Sep 28, 2023 · 0 comments
Open

[BUG] Issue with file formats when meditation file is uploaded #479

k-mlch opened this issue Sep 28, 2023 · 0 comments

Comments

@k-mlch
Copy link
Collaborator

k-mlch commented Sep 28, 2023

Description:
An issue with file formats when the meditation file is uploaded

The issue was encountered when the added meditations were not working (the default meditations were working).

In the backend (backend/src/packages/files/files.service), in the 'create' function, when the 'fileKey' variable is created, it uses the second part of the ContentType (in this case, it would be 'mpeg'), but this is not correct.

According to this table, the '.mpeg' extension corresponds to a video format (video/mpeg). As a result, I get my files with the '.mpeg' extension in the db when they should actually be 'mp3'.

Image

Image

@k-mlch k-mlch added the bug label Sep 28, 2023
@liza-veis liza-veis added this to the calmpal-release-5 milestone Sep 28, 2023
@v0ldemar01 v0ldemar01 self-assigned this Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Be Tested
Development

No branches or pull requests

3 participants