mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Moving migration
This commit is contained in:
parent
ef9ab36304
commit
bd7ee07c97
4 changed files with 4 additions and 4 deletions
|
@ -118,7 +118,7 @@ impl Perform for BlockCommunity {
|
|||
context: &Data<LemmyContext>,
|
||||
_websocket_id: Option<ConnectionId>,
|
||||
) -> Result<CommunityResponse, LemmyError> {
|
||||
let data: &BlockCommunity = &self;
|
||||
let data: &BlockCommunity = self;
|
||||
let local_user_view = get_local_user_view_from_jwt(&data.auth, context.pool()).await?;
|
||||
|
||||
let community_id = data.community_id;
|
||||
|
|
|
@ -489,7 +489,7 @@ impl Perform for BlockPerson {
|
|||
context: &Data<LemmyContext>,
|
||||
_websocket_id: Option<ConnectionId>,
|
||||
) -> Result<BlockPersonResponse, LemmyError> {
|
||||
let data: &BlockPerson = &self;
|
||||
let data: &BlockPerson = self;
|
||||
let local_user_view = get_local_user_view_from_jwt(&data.auth, context.pool()).await?;
|
||||
|
||||
let recipient_id = data.person_id;
|
||||
|
@ -868,7 +868,7 @@ impl Perform for GetBlockedCommunities {
|
|||
context: &Data<LemmyContext>,
|
||||
_websocket_id: Option<ConnectionId>,
|
||||
) -> Result<GetBlockedCommunitiesResponse, LemmyError> {
|
||||
let data: &GetBlockedCommunities = &self;
|
||||
let data: &GetBlockedCommunities = self;
|
||||
let local_user_view = get_local_user_view_from_jwt(&data.auth, context.pool()).await?;
|
||||
|
||||
let person_id = local_user_view.person.id;
|
||||
|
@ -892,7 +892,7 @@ impl Perform for GetBlockedPersons {
|
|||
context: &Data<LemmyContext>,
|
||||
_websocket_id: Option<ConnectionId>,
|
||||
) -> Result<GetBlockedPersonsResponse, LemmyError> {
|
||||
let data: &GetBlockedPersons = &self;
|
||||
let data: &GetBlockedPersons = self;
|
||||
let local_user_view = get_local_user_view_from_jwt(&data.auth, context.pool()).await?;
|
||||
|
||||
let person_id = local_user_view.person.id;
|
||||
|
|
Loading…
Reference in a new issue