Skip to content

Commit

Permalink
fixed a bug on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaban committed Oct 27, 2023
1 parent 9710152 commit 1d23016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gofr-backend/lib/routes/dataSources.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ function destroyPartition(partitionName, partitionID) {
fhirAxios.expunge(resource, expungeParams, partitionName).then(() => {
resolve();
}).catch((err) => {
logger.error(err);
if(resource === 'Basic') {
return resolve()
}
logger.error(err);
reject();
});
}).catch((err) => {
Expand Down

0 comments on commit 1d23016

Please sign in to comment.