Skip to content

Commit

Permalink
Merge pull request #11 from REAN-Foundation/config-changes
Browse files Browse the repository at this point in the history
Config-changes
  • Loading branch information
tabbasum-rean authored May 9, 2023
2 parents ffff5cb + eb2e612 commit 322baf3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions service.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"SystemIdentifier": "REAN Careplan Service",
"SystemIdentifier": "Awards Service",
"Auth" : {
"Authentication": "Custom",
"Authorization": "Custom"
Expand All @@ -25,6 +25,6 @@
},
"MaxUploadFileSize": 104857600,
"JwtExpiresIn": 2592000,
"Logger" : "Winston",
"Logger" : "Custom",
"UseHTTPLogging" : true
}
2 changes: 1 addition & 1 deletion service.config.local.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"SystemIdentifier": "REAN HealthGuru",
"SystemIdentifier": "Awards Service",
"Auth" : {
"Authentication": "Custom",
"Authorization": "Custom"
Expand Down
1 change: 1 addition & 0 deletions src/domain.types/engine/engine.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export const ConditionOperandDataTypeList: OperandDataType[] = [
OperandDataType.Boolean,
OperandDataType.Text,
OperandDataType.Array,
OperandDataType.Object,
OperandDataType.Date,
];

Expand Down
2 changes: 1 addition & 1 deletion src/modules/engine.execution/schema.engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class SchemaEngine {
}
const added = await processor.storeData(context.id, almanacObject.Data.ToBeAdded, action.InputParams, action.OutputParams);
var removedData = null;
if (almanacObject.Data.ToBeRemoved) {
if (almanacObject.Data.ToBeRemoved.length > 0) {
const removed = await processor.removeData(context.id, almanacObject.Data.ToBeRemoved, action.InputParams, action.OutputParams);
removedData = removed?.Data;
}
Expand Down

0 comments on commit 322baf3

Please # to comment.