Skip to content

Commit

Permalink
repeater.get_payload() always returns a string
Browse files Browse the repository at this point in the history
  • Loading branch information
kaapstorm authored Jan 28, 2021
1 parent a9ff0a4 commit 2acaa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/motech/repeaters/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ def attempt_forward_now(repeater_stub: RepeaterStub):
process_repeater_stub.delay(repeater_stub)


def get_payload(repeater: Repeater, repeat_record: SQLRepeatRecord) -> Any:
def get_payload(repeater: Repeater, repeat_record: SQLRepeatRecord) -> str:
try:
return repeater.get_payload(repeat_record)
except Exception as err:
Expand Down

0 comments on commit 2acaa36

Please sign in to comment.