Skip to content

Commit

Permalink
fix: lowercase ampp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jongmassey committed Oct 20, 2022
1 parent ee8b7dc commit a3309c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openprescribing/dmd/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def search_by_gtin(q):
return []

try:
obj = GTIN.objects.select_related("AMPP").get(gtin=q)
obj = GTIN.objects.select_related("ampp").get(gtin=q)
except AMPP.DoesNotExist:
return []

Expand Down

0 comments on commit a3309c7

Please sign in to comment.