Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

pass missing viewWebhookManager on sort update

Fendy Heryanto13082f08b10a
diff --git a/packages/nocodb/src/services/v3/sorts-v3.service.ts b/packages/nocodb/src/services/v3/sorts-v3.service.ts
index 784b91496b..b13475692c 100644
--- a/packages/nocodb/src/services/v3/sorts-v3.service.ts
+++ b/packages/nocodb/src/services/v3/sorts-v3.service.ts
@@ -37,7 +37,12 @@ export class SortsV3Service {
async sortDelete(
context: NcContext,
- param: { viewId: string; sortId: string; req: NcRequest },
+ param: {
+ viewId: string;
+ sortId: string;
+ req: NcRequest;
+ viewWebhookManager?: ViewWebhookManager;
+ },
) {
const sort = await Sort.get(context, param.sortId ?? '');
@@ -83,6 +88,7 @@ export class SortsV3Service {
...param,
sortId: sort.id,
sort: updateObj as SortReqType,
+ viewWebhookManager: param.viewWebhookManager,
});
return this.sortGet(context, param);
}