Skip to content

Commit

Permalink
Fixed: changed file format of a default cover from .jpg to .jpeg (#636)
Browse files Browse the repository at this point in the history
### Description

This should resolve issue #635

### Checklist

- [ ] Created tests which fail without the change (if possible)
- [x] All tests passing
- [ ] Extended the documentation, if necessary
  • Loading branch information
KirillBorodinskiy authored Dec 22, 2024
1 parent 948ce9f commit 5f2433a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/ph/endpoints_ph.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async def get_cover(
)

return get_file_from_data(
default_asset="assets/images/default_cover.jpg",
default_asset="assets/images/default_cover.jpeg",
directory="ph/cover",
filename=str(paper_id),
)
Expand Down

0 comments on commit 5f2433a

Please sign in to comment.