diff options
| author | Conrad Ludgate <conradludgate@gmail.com> | 2023-08-18 21:45:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-18 20:45:29 +0000 |
| commit | aa8e5f5c04524d3d5c6f1d5b6c4616dbdb8d40be (patch) | |
| tree | 74a027ed4cc186426851afc42cb0da23c3de043d /atuin-server-postgres | |
| parent | Add kv map builder and list function (#1179) (diff) | |
| download | atuin-aa8e5f5c04524d3d5c6f1d5b6c4616dbdb8d40be.zip | |
Update dependencies (#1181)
Diffstat (limited to 'atuin-server-postgres')
| -rw-r--r-- | atuin-server-postgres/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atuin-server-postgres/src/lib.rs b/atuin-server-postgres/src/lib.rs index 9dc50312..aa523222 100644 --- a/atuin-server-postgres/src/lib.rs +++ b/atuin-server-postgres/src/lib.rs @@ -247,7 +247,7 @@ impl Database for Postgres { .bind(hostname) .bind(i.timestamp) .bind(data) - .execute(&mut tx) + .execute(&mut *tx) .await .map_err(fix_error)?; } @@ -375,7 +375,7 @@ impl Database for Postgres { .bind(&i.data.data) .bind(&i.data.content_encryption_key) .bind(user.id) - .execute(&mut tx) + .execute(&mut *tx) .await .map_err(fix_error)?; } |
