refactor(ap-ports): accept_note returns ThoughtId instead of ()

This commit is contained in:
2026-05-16 02:46:20 +02:00
parent 1d35cedf3f
commit 0d43d0adb9

View File

@@ -72,7 +72,7 @@ pub trait ActivityPubRepository: Send + Sync {
content_warning: Option<String>,
visibility: &str,
in_reply_to: Option<&str>,
) -> Result<(), DomainError>;
) -> Result<ThoughtId, DomainError>;
/// Apply an Update to a previously accepted remote Note.
async fn apply_note_update(&self, ap_id: &str, new_content: &str) -> Result<(), DomainError>;