chore: switch activitypub-base to k-ap git dep
This commit is contained in:
@@ -4,7 +4,7 @@ use crate::{
|
||||
handlers::feed::to_thought_response,
|
||||
state::AppState,
|
||||
};
|
||||
use activitypub_base::ActivityPubRepository;
|
||||
use activitypub::ActivityPubRepository;
|
||||
use api_types::{
|
||||
requests::PaginationQuery,
|
||||
responses::{ActorConnectionPageResponse, ActorConnectionResponse},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use activitypub_base::ActivityPubRepository;
|
||||
use activitypub::ActivityPubRepository;
|
||||
use domain::ports::*;
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use crate::state::AppState;
|
||||
use activitypub_base::{ActivityPubRepository, ActorApUrls, OutboxEntry};
|
||||
use activitypub::{ActivityPubRepository, ActorApUrls, OutboxEntry};
|
||||
use async_trait::async_trait;
|
||||
use domain::{
|
||||
errors::DomainError,
|
||||
@@ -68,7 +68,7 @@ impl ActivityPubRepository for NoOpApRepo {
|
||||
}
|
||||
async fn accept_note(
|
||||
&self,
|
||||
_input: activitypub_base::AcceptNoteInput<'_>,
|
||||
_input: activitypub::AcceptNoteInput<'_>,
|
||||
) -> Result<ThoughtId, DomainError> {
|
||||
Ok(ThoughtId::from_uuid(uuid::Uuid::new_v4()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user