Browse Source

chore(nocodb): lint

pull/5222/head
Wing-Kam Wong 2 years ago
parent
commit
bc0fe8ad77
  1. 5
      packages/nocodb/src/lib/services/viewService.ts

5
packages/nocodb/src/lib/services/viewService.ts

@ -51,7 +51,10 @@ export async function shareViewUpdate(param: {
viewId: string;
sharedView: SharedViewReqType;
}) {
validatePayload('swagger.json#/components/schemas/SharedViewReq', param.sharedView);
validatePayload(
'swagger.json#/components/schemas/SharedViewReq',
param.sharedView
);
T.emit('evt', { evt_type: 'sharedView:updated' });
return await View.update(param.viewId, param.sharedView);
}

Loading…
Cancel
Save