fix(labels): allow for nullable user_id on label fetch

This commit is contained in:
perf3ct 2025-07-27 20:42:55 +00:00
parent 24269ea513
commit 319c1521c1
1 changed files with 1 additions and 1 deletions

View File

@ -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"),