Fix small bugs in updating relays
This commit is contained in:
parent
e2cd84b136
commit
8b1affd8c7
3 changed files with 15 additions and 5 deletions
emgauwa-core/src/handlers/v1
|
@ -136,6 +136,8 @@ pub async fn update_for_controller(
|
|||
relay.set_tags(&mut pool_conn, tags.as_slice()).await?;
|
||||
}
|
||||
|
||||
let relay = relay.reload(&mut pool_conn).await?;
|
||||
|
||||
let return_relay = Relay::from_db_model(&mut pool_conn, relay)?;
|
||||
|
||||
app_server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue