Skip to content

Commit 917842d

Browse files
Fix bug in identifier mismatch notifications
Iccid mismatch was not saved after creation
1 parent 85c043c commit 917842d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tculink/management/commands/tcuserver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ async def handle_client(self, reader, writer):
180180
new_alert.additional_data = _("Sim ID does not match with specified ID, please double check!")
181181
new_alert.car = car
182182
new_alert.command_id = car.command_id
183+
await sync_to_async(new_alert.save)()
183184
else:
184185
# skip auth and set as authenticated if check is disabled
185186
authenticated = car.disable_auth

0 commit comments

Comments
 (0)