mirror of
https://github.com/flarum/core.git
synced 2025-08-13 20:04:24 +02:00
chore: 200 status codes
This commit is contained in:
@@ -40,6 +40,6 @@ class GlobalUpdateController implements RequestHandlerInterface
|
||||
new GlobalUpdate($actor)
|
||||
);
|
||||
|
||||
return new EmptyResponse();
|
||||
return new EmptyResponse(200);
|
||||
}
|
||||
}
|
||||
|
@@ -39,6 +39,6 @@ class MajorUpdateController implements RequestHandlerInterface
|
||||
new MajorUpdate($actor, $dryRun)
|
||||
);
|
||||
|
||||
return new EmptyResponse();
|
||||
return new EmptyResponse(200);
|
||||
}
|
||||
}
|
||||
|
@@ -40,6 +40,6 @@ class MinorUpdateController implements RequestHandlerInterface
|
||||
new MinorUpdate($actor)
|
||||
);
|
||||
|
||||
return new EmptyResponse();
|
||||
return new EmptyResponse(200);
|
||||
}
|
||||
}
|
||||
|
@@ -39,6 +39,6 @@ class RemoveExtensionController implements RequestHandlerInterface
|
||||
new RemoveExtension($actor, $extensionId)
|
||||
);
|
||||
|
||||
return new EmptyResponse();
|
||||
return new EmptyResponse(200);
|
||||
}
|
||||
}
|
||||
|
@@ -39,6 +39,6 @@ class UpdateExtensionController implements RequestHandlerInterface
|
||||
new UpdateExtension($actor, $extensionId)
|
||||
);
|
||||
|
||||
return new EmptyResponse();
|
||||
return new EmptyResponse(200);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user