Replace DI::apiResponse()->exit() with $this->response->exit()
This commit is contained in:
committed by
Hypolite Petovan
parent
2dc60cfd33
commit
a88cc8d5c8
@@ -81,6 +81,6 @@ class Destroy extends ContactEndpoint
|
||||
throw new HTTPException\InternalServerErrorException('Unable to unfollow this contact, please contact your administrator');
|
||||
}
|
||||
|
||||
DI::apiResponse()->exit('friendships', ['user' => $user], $this->parameters['extension'] ?? null);
|
||||
$this->response->exit('friendships', ['user' => $user], $this->parameters['extension'] ?? null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user