Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcweba committed May 2, 2024
1 parent 8ba246d commit 604fa52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ private void deleteResource(RoutingContext ctx) {
private boolean checkMaxSubResourcesCount(HttpServerRequest request, int subResourcesArraySize) {
MultiMap headers = request.headers();

// get max expand value from request header of use the configuration value as fallback
// get max expand value from request header or use the configuration value as fallback
Integer maxStorageExpand = getInteger(headers, MAX_EXPAND_RESOURCES_HEADER, maxStorageExpandSubresources);
if (maxStorageExpand < subResourcesArraySize) {
respondWith(request.response(), StatusCode.PAYLOAD_TOO_LARGE,
Expand Down

0 comments on commit 604fa52

Please sign in to comment.