Skip to content

Commit fecc8b1

Browse files
committed
Fix params casing
1 parent cfaff70 commit fecc8b1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/backend/src/api/endpoints/EnterpriseConnectionApi.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ export class EnterpriseConnectionAPI extends AbstractAPI {
6868
method: 'POST',
6969
path: basePath,
7070
bodyParams: params,
71+
options: {
72+
deepSnakecaseBodyParamKeys: true,
73+
},
7174
});
7275
}
7376

@@ -77,6 +80,9 @@ export class EnterpriseConnectionAPI extends AbstractAPI {
7780
method: 'PATCH',
7881
path: joinPaths(basePath, enterpriseConnectionId),
7982
bodyParams: params,
83+
options: {
84+
deepSnakecaseBodyParamKeys: true,
85+
},
8086
});
8187
}
8288

0 commit comments

Comments
 (0)