Linking path creation to actions.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
This commit is contained in:
@@ -9,6 +9,7 @@ use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
time::Duration,
|
||||
};
|
||||
use super::MessageAction;
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
@@ -45,7 +46,7 @@ impl Message {
|
||||
pub fn get_path(&self) -> Path {
|
||||
Path::new(
|
||||
Include::Just(self.msg_id.clone()),
|
||||
Include::Just(self.document_id.clone()),
|
||||
Include::Just(self.action.doc_name().clone()),
|
||||
Include::Just(self.action.clone().into()),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user