mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
Use 422 status when rejecting Git LFS request
This commit is contained in:
@@ -37,7 +37,7 @@ public class GitLfsHandler extends AbstractHandler {
|
||||
) {
|
||||
Log.info(method + " <- /<project>.git/info/lfs/objects/batch");
|
||||
response.setContentType("application/vnd.git-lfs+json");
|
||||
response.setStatus(406);
|
||||
response.setStatus(422);
|
||||
response.getWriter().println("{\"message\": \"ERROR: Git LFS is not supported on Overleaf\"}");
|
||||
baseRequest.setHandled(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user