Skip to content

Commit

Permalink
chore(orchestrator): remove unused code (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
batzionb authored Dec 8, 2024
1 parent 24d9bf6 commit d9c0c5f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 91 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -209,22 +209,6 @@ export class SonataFlowService {
return response.ok;
}

public async updateInstanceInputData(args: {
definitionId: string;
serviceUrl: string;
instanceId: string;
inputData: ProcessInstanceVariables;
}): Promise<boolean> {
const { definitionId, serviceUrl, instanceId, inputData } = args;
const urlToFetch = `${serviceUrl}/${definitionId}/${instanceId}`;
const response = await fetch(urlToFetch, {
method: 'PATCH',
body: JSON.stringify(inputData),
headers: { 'content-type': 'application/json' },
});
return response.ok;
}

public async createPrefixFetchErrorMessage(
urlToFetch: string,
response: Response,
Expand Down

0 comments on commit d9c0c5f

Please sign in to comment.