Skip to content

Commit

Permalink
_get_entity_uri bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofia Sazonova committed Sep 30, 2024
1 parent 1e2c388 commit a790e2a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ def validate_enrich_fields_params(mf_fields, data):


class AttachedMetadataFormService:
# session is rudimentary here, but it is required for the ResourcePolicyService to work
@staticmethod
def _get_entity_uri(data):
def _get_entity_uri(session, data):
return data.get('entityUri')

@staticmethod
Expand Down

0 comments on commit a790e2a

Please sign in to comment.