msg_id → msg_type

This commit is contained in:
Laura Klünder 2023-10-20 15:41:46 +02:00
parent 9bee0bf774
commit bf1834cd63
6 changed files with 50 additions and 46 deletions

View file

@ -72,7 +72,7 @@ class MeshMessageForm(forms.Form):
raise Exception('nope')
return {
'msg_id': self.msg_type,
'msg_type': self.msg_type.name,
'src': MESH_ROOT_ADDRESS,
**self.get_cleaned_msg_data(),
}