fix(postgres): accept_note returns ThoughtId via SELECT after INSERT
This commit is contained in:
@@ -103,8 +103,8 @@ impl ActivityPubRepository for TestApRepo {
|
||||
_content_warning: Option<String>,
|
||||
_visibility: &str,
|
||||
_in_reply_to: Option<&str>,
|
||||
) -> Result<(), DomainError> {
|
||||
Ok(())
|
||||
) -> Result<ThoughtId, DomainError> {
|
||||
Ok(ThoughtId::from_uuid(uuid::Uuid::new_v4()))
|
||||
}
|
||||
async fn apply_note_update(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user