Add logout url

This commit is contained in:
Simon Goller 2024-06-18 08:01:52 +02:00
parent eb54665596
commit 7d59cbde11
4 changed files with 17 additions and 1 deletions

View file

@ -106,7 +106,7 @@ impl SalesPersonDao for SalesPersonDaoImpl {
let id = entity.id.as_bytes().to_vec();
let version = entity.version.as_bytes().to_vec();
let name = entity.name.as_ref();
let background_color = entity.name.as_ref();
let background_color = entity.background_color.as_ref();
let inactive = entity.inactive;
let deleted = entity.deleted.as_ref().map(|deleted| deleted.to_string());
query!("UPDATE sales_person SET name = ?, background_color = ?, inactive = ?, deleted = ?, update_version = ?, update_process = ? WHERE id = ?", name, background_color, inactive, deleted, version, process, id)