diff --git a/src/entity/gateway/postgres/postgres.rs b/src/entity/gateway/postgres/postgres.rs index 3ae3f2c..55ef325 100644 --- a/src/entity/gateway/postgres/postgres.rs +++ b/src/entity/gateway/postgres/postgres.rs @@ -288,7 +288,7 @@ impl EntityGateway for PostgresGateway { sqlx::query("insert into item_location (item, location) values ($1, $2);") .bind(item_id.0) .bind(sqlx::types::Json(PgItemLocationDetail::from(item_location))) - .fetch_one(&self.pool).await.unwrap(); + .execute(&self.pool).await.unwrap(); } async fn feed_mag(&mut self, mag_item_id: &ItemEntityId, tool_item_id: &ItemEntityId) {