ConnectionId,
LemmyError,
};
-use lemmy_websocket::{LemmyContext, UserOperation};
+use lemmy_websocket::{LemmyContext, UserOperationCrud};
#[async_trait::async_trait(?Send)]
impl PerformCrud for EditCommunity {
let res = CommunityResponse { community_view };
- send_community_websocket(&res, context, websocket_id, UserOperation::EditCommunity);
+ send_community_websocket(
+ &res,
+ context,
+ websocket_id,
+ UserOperationCrud::EditCommunity,
+ );
Ok(res)
}