Skip to content

Commit

Permalink
fix: add file extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
syhily committed Nov 25, 2022
1 parent cdd032b commit 7d62f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/fetcher/k12.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (k *k12Service) formats(id int64) (map[file.Format]driver.Share, error) {

return map[file.Format]driver.Share{
file.PDF: {
FileName: book.Title,
FileName: book.Title + "." + book.CustomProperties.Format,
SubPath: subPath,
Size: book.CustomProperties.Size,
URL: book.ID,
Expand Down

0 comments on commit 7d62f5c

Please sign in to comment.