chore: Refactor transaction_ids -> transactions

This commit is contained in:
timedout
2026-02-23 17:44:35 +00:00
parent d311b87579
commit 558262dd1f
7 changed files with 15 additions and 16 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ pub(crate) async fn send_event_to_device_route(
// Check if this is a new transaction id
if services
.transaction_ids
.transactions
.get_client_txn(sender_user, sender_device, &body.txn_id)
.await
.is_ok()
@@ -104,7 +104,7 @@ pub(crate) async fn send_event_to_device_route(
// Save transaction id with empty data
services
.transaction_ids
.transactions
.add_client_txnid(sender_user, sender_device, &body.txn_id, &[]);
Ok(send_event_to_device::v3::Response {})