rename sql_method to query and adjust the syntax to more closely match function definitions

This commit is contained in:
Kay Simmons 2022-11-24 00:02:07 -08:00 committed by Mikayla Maki
parent 1cc3e4820a
commit 359b8aaf47
7 changed files with 192 additions and 124 deletions

View file

@ -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
};