9 lines
239 B
Rust
9 lines
239 B
Rust
|
use crate::{actions::DeleteFollow, Action, Context, Error};
|
||
|
|
||
|
impl Action for DeleteFollow {
|
||
|
fn perform(&self, context: &Context) -> Result<(), Error> {
|
||
|
context.store.view.follows.remove(self.follow_id)?;
|
||
|
Ok(())
|
||
|
}
|
||
|
}
|