Files
zulip/zerver/views/realm_export.py
Prakhar Pratyush f0cbce564d realm_export: Use queue_event_on_commit helper function.
This commit replaces
transaction.on_commit(lambda: queue_json_publish("deferred_work",event))
with
queue_event_on_commit("deferred_work", event)

This change utilizes the helper function queue_event_on_commit,
which abstracts the transaction.on_commit logic and improves
maintainability.
2024-12-04 12:14:23 -08:00

5.2 KiB