diff --git a/src/services/service.ts b/src/services/service.ts index 51d11ce..a4af98f 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -391,7 +391,6 @@ export default class Services { if (Object.entries(retrievedValues).length != 0) { // We update the process with the value we retrieved const hashToValues = JSON.stringify(retrievedValues); - console.log(hashToValues); const apiReturn = this.sdkClient.update_process_state(processId, stateId, hashToValues); await this.handleApiReturn(apiReturn); } @@ -409,9 +408,9 @@ export default class Services { if (updatedProcess.modified_state) { - // For now it can only mean we added a validation token to an existing state - // Not sure what action to take console.log('modified state:', updatedProcess.modified_state); + const responsePrdReturn = this.sdkClient.create_response_prd(processId, updatedProcess.modified_state); + await this.handleApiReturn(responsePrdReturn); } }