fix(labels): allow for nullable user_id on label fetch
This commit is contained in:
parent
5f95afd96c
commit
5d04bb89b7
|
|
@ -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