Browse Source

feat(nocodb): include SharedViewReq for shareViewUpdate

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
8763f862cf
  1. 1
      packages/nocodb/src/lib/meta/api/viewApis.ts

1
packages/nocodb/src/lib/meta/api/viewApis.ts

@ -141,6 +141,7 @@ router.post(
); );
router.patch( router.patch(
'/api/v1/db/meta/views/:viewId/share', '/api/v1/db/meta/views/:viewId/share',
getAjvValidatorMw('swagger.json#/components/schemas/SharedViewReq'),
metaApiMetrics, metaApiMetrics,
ncMetaAclMw(shareViewUpdate, 'shareViewUpdate') ncMetaAclMw(shareViewUpdate, 'shareViewUpdate')
); );

Loading…
Cancel
Save