[email] Pass message in json instead of data
This commit is contained in:
parent
8211a29ebd
commit
ecba2fb595
|
@ -48,5 +48,5 @@ async def main():
|
||||||
'secret': email_row.secret,
|
'secret': email_row.secret,
|
||||||
}
|
}
|
||||||
requests.post(
|
requests.post(
|
||||||
'http://localhost:8000/api/hoods/%d/email/messages/' % (hood.id), data=body
|
'http://localhost:8000/api/hoods/%d/email/messages/' % (hood.id), json=body
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue