Skip to content

Commit

Permalink
added fix for commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sondermanish committed Feb 7, 2025
1 parent ac41ad2 commit 62eff0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/client/src/git/requests/commitRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ async function commitRequestOld(
branchedApplicationId: string,
params: CommitRequestParams,
): AxiosPromise<CommitResponse> {
return Api.post(
`${GIT_BASE_URL}/commit/app/${branchedApplicationId}`,
params,
);
return Api.post(`${GIT_BASE_URL}/commit/app/${branchedApplicationId}`, {
commitMessage: params.message,
doPush: params.doPush,
});
}

async function commitRequestNew(
Expand Down

0 comments on commit 62eff0c

Please sign in to comment.