Skip to content

Commit

Permalink
fix: remove add watch bubble on empty imdb id
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Oct 3, 2023
1 parent 5d070c5 commit 4fd70ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/movies.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func HandleGetByImdbId(c *fiber.Ctx) error {
imdbId, err := utils.ParseImdbId(c.Query("imdb_id"))

if err != nil {
return err
return c.SendString("")
}

err = db.Client.Get(&movie, `
Expand Down

0 comments on commit 4fd70ea

Please sign in to comment.