Replace getAuthenticatedOperator with requireAuthenticatedOperator in handleRequest method

This commit is contained in:
netkas 2025-06-06 13:05:34 -04:00
parent 3217100cff
commit ee7193c5ea
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -20,7 +20,7 @@
*/
public static function handleRequest(): void
{
$authenticatedOperator = FederationServer::getAuthenticatedOperator();
$authenticatedOperator = FederationServer::requireAuthenticatedOperator();
// Ensure the authenticated operator has permission to delete operators.
if(!$authenticatedOperator->canManageBlacklist())