Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Dec 7, 2024
1 parent 28e8b6a commit 2e1feb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (b *Backend) ForwardToReadwise() (int, error) {
if b.Settings.UploadCovers {
uploadedBooks, err := b.Readwise.RetrieveUploadedBooks(b.Settings.ReadwiseToken)
if err != nil {
return numUploads, fmt.Errorf(fmt.Sprintf("Successfully uploaded %d bookmarks", numUploads))
return numUploads, fmt.Errorf("Successfully uploaded %d bookmarks", numUploads)
}
for _, book := range uploadedBooks.Results {
// We don't want to overwrite user uploaded covers or covers already present
Expand Down

0 comments on commit 2e1feb7

Please sign in to comment.