rename sql_method to query and adjust the syntax to more closely match function definitions
This commit is contained in:
parent
1cc3e4820a
commit
359b8aaf47
7 changed files with 192 additions and 124 deletions
|
@ -157,7 +157,9 @@ impl Telemetry {
|
|||
device_id
|
||||
} else {
|
||||
let device_id = Uuid::new_v4().to_string();
|
||||
KEY_VALUE_STORE.write_kvp("device_id", &device_id)?;
|
||||
KEY_VALUE_STORE
|
||||
.write_kvp("device_id".to_string(), device_id.clone())
|
||||
.await?;
|
||||
device_id
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue