fix: import labels lookup label properly
This commit is contained in:
parent
cb579f5091
commit
b62060880b
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ use crate::{
|
|||
FullCtx,
|
||||
};
|
||||
|
||||
pub(super) struct LabelsActor {
|
||||
pub(crate) struct LabelsActor {
|
||||
ctx: FullCtx,
|
||||
nextcloud_board_id: NextcloudBoardId,
|
||||
lookup: HashMap<NextcloudLabelTitle, NextcloudLabelId>,
|
||||
|
@ -87,7 +87,7 @@ impl Message<LookupNextcloudLabelId> for LabelsActor {
|
|||
tracing::info!(?label, "created");
|
||||
self.lookup.insert(label.title.clone(), label.id);
|
||||
self.lookup
|
||||
.get(&NextcloudLabelTitle::new(msg.trello_name.as_ref()))
|
||||
.get(&label.title)
|
||||
.expect("label was just inserted")
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue