Moving migration

This commit is contained in:
Dessalines 2021-08-04 18:56:29 -04:00
parent ef9ab36304
commit bd7ee07c97
4 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;