mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 05:21:00 +00:00
Remove activitypub crate from plume-models
This commit is contained in:
parent
d96940c848
commit
52022fb597
1 changed files with 0 additions and 9 deletions
|
@ -125,15 +125,6 @@ impl From<reqwest::header::InvalidHeaderValue> for Error {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<activitypub::Error> for Error {
|
||||
fn from(err: activitypub::Error) -> Self {
|
||||
match err {
|
||||
activitypub::Error::NotFound => Error::MissingApProperty,
|
||||
_ => Error::SerDe,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl From<activitystreams::checked::CheckError> for Error {
|
||||
fn from(_: activitystreams::checked::CheckError) -> Error {
|
||||
Error::MissingApProperty
|
||||
|
|
Loading…
Reference in a new issue