Skip to content

Commit

Permalink
#1238: API update morphology, forgot language code.
Browse files Browse the repository at this point in the history
  • Loading branch information
susanodd committed May 30, 2024
1 parent fc0bed2 commit ab0c72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signbank/gloss_morphology_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def api_update_gloss_morphology(request, datasetid, glossid):
return JsonResponse(results)

fields_to_update = gloss_update(gloss, value_dict, interface_language_code)
errors = detect_type_related_problems_for_gloss_update(gloss, fields_to_update)
errors = detect_type_related_problems_for_gloss_update(gloss, fields_to_update, interface_language_code)
if errors:
results['errors'] = errors
results['updatestatus'] = "Failed"
Expand Down

0 comments on commit ab0c72d

Please sign in to comment.