Comparing version 0.27.24-next.1 to 0.27.24-next.2
@@ -176,2 +176,5 @@ import { doTransaction } from './context.js'; | ||
async groupBy(request, body) { | ||
if (!this.repository.metadata.apiReadAllowed) { | ||
throw new ForbiddenError(); | ||
} | ||
let findOptions = await this.findOptionsFromRequest(request, body); | ||
@@ -178,0 +181,0 @@ let orderBy = {}; |
{ | ||
"name": "remult", | ||
"version": "0.27.24-next.1", | ||
"version": "0.27.24-next.2", | ||
"description": "A CRUD framework for full-stack TypeScript", | ||
@@ -5,0 +5,0 @@ "homepage": "https://remult.dev", |
@@ -357,3 +357,7 @@ "use strict"; | ||
switch (_m.label) { | ||
case 0: return [4 /*yield*/, this.findOptionsFromRequest(request, body)]; | ||
case 0: | ||
if (!this.repository.metadata.apiReadAllowed) { | ||
throw new server_action_js_1.ForbiddenError(); | ||
} | ||
return [4 /*yield*/, this.findOptionsFromRequest(request, body)]; | ||
case 1: | ||
@@ -360,0 +364,0 @@ findOptions = _m.sent(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4976148
55891