Skip to content

Commit 4617e4c

Browse files
committed
add hotfix for real-time client
1 parent 7ca1582 commit 4617e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supabase_py/lib/realtime_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def get_payload_records(self, payload: Any):
1818
if payload.type == "INSERT" or payload.type == "UPDATE":
1919
records.new = payload.record
2020
convert_change_data(payload.columns, payload.record)
21-
if (payload.type == 'UPDATE' or payload.type == 'DELETE'):
21+
if payload.type == "UPDATE" or payload.type == "DELETE":
2222
records.old = payload.record
2323
convert_change_data(payload.columns, payload.old_record)
2424
return records

0 commit comments

Comments
 (0)