fix(labels): allow for nullable user_id on label fetch
This commit is contained in:
parent
24269ea513
commit
319c1521c1
|
|
@ -53,7 +53,7 @@ impl Database {
|
|||
let doc_id: Uuid = row.get("document_id");
|
||||
let label = Label {
|
||||
id: row.get("label_id"),
|
||||
user_id: Some(row.get("user_id")),
|
||||
user_id: row.get("user_id"),
|
||||
name: row.get("name"),
|
||||
description: None,
|
||||
color: row.get("color"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue