mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
chore: update version to 0.19.0-rc.1 and improve error handling in App class
- Bumped version in package.json to 0.19.0-rc.1. - Changed error throw to console.error in fetch method of App class for better debugging. - Updated permissions in DataController for the "/types" endpoint to include context for schemaRead.
This commit is contained in:
@@ -161,7 +161,9 @@ export class DataController extends Controller {
|
||||
|
||||
hono.get(
|
||||
"/types",
|
||||
permission(DataPermissions.entityRead),
|
||||
permission(SystemPermissions.schemaRead, {
|
||||
context: (c) => ({ module: "data" }),
|
||||
}),
|
||||
describeRoute({
|
||||
summary: "Retrieve data typescript definitions",
|
||||
tags: ["data"],
|
||||
|
||||
Reference in New Issue
Block a user