Skip to content

Commit

Permalink
Fix #610 Fetch revisions by objectId and schemaName in config list da…
Browse files Browse the repository at this point in the history
…taagreements
  • Loading branch information
albinpa authored and georgepadayatti committed Jan 9, 2024
1 parent 72909c1 commit 853bde8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func getDataAgreementsWithRevisions(organisationId string, lifecycle string) ([]

for _, dataAgreement := range dataAgreements {
// list all revisions for data agreement
revisions, err := revision.ListAllByDataAgreementId(dataAgreement.Id)
revisions, err := revision.ListAllByObjectIdAndSchemaName(dataAgreement.Id, config.DataAgreement)
if err != nil {
return tempDataAgreements, err
}
Expand Down

0 comments on commit 853bde8

Please sign in to comment.