Merge branch 'main' into watches

This commit is contained in:
Joe Ardent 2023-06-09 15:05:13 -07:00
commit a8356dae58

View file

@ -177,6 +177,7 @@ pub(crate) async fn create_user(
.unwrap() // safe to unwrap, we know the salt is valid .unwrap() // safe to unwrap, we know the salt is valid
.to_string(); .to_string();
// TODO: look into ULIDs for sortable identifiers that are UUID-compatible
let id = Uuid::new_v4(); let id = Uuid::new_v4();
let query = sqlx::query(CREATE_QUERY) let query = sqlx::query(CREATE_QUERY)
.bind(id) .bind(id)