Skip to content

Commit da2a8d4

Browse files
committed
refactor: rename pre -> post for hooks
1 parent 1f6c621 commit da2a8d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/twenty-server/src/engine/api/graphql/workspace-query-runner/workspace-query-hook/workspace-query-hook.service.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export class WorkspaceQueryHookService {
6969
return;
7070
}
7171

72-
for (const preHookInstance of postHookInstances) {
72+
for (const postHookInstance of postHookInstances) {
7373
await this.workspaceQueryHookExplorer.handleHook(
7474
[authContext, objectName, payload],
75-
preHookInstance.instance,
76-
preHookInstance.host,
77-
preHookInstance.isRequestScoped,
75+
postHookInstance.instance,
76+
postHookInstance.host,
77+
postHookInstance.isRequestScoped,
7878
);
7979
}
8080
}

0 commit comments

Comments
 (0)