Skip to content

Commit

Permalink
Use schema_id in prepare_update (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
crisely09 authored and MFSY committed Jul 5, 2024
1 parent 42b6f8c commit 6777f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kgforge/specializations/stores/bluebrain_nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def _update_many(self, resources: List[Resource], schema_id: str) -> None:
def _update_one(self, resource: Resource, schema_id: str) -> None:

method, url, resource, exception_, headers, params, payload = (
prepare_methods.prepare_update(service=self.service, resource=resource)
prepare_methods.prepare_update(service=self.service, resource=resource, schema_id=schema_id)
)

response = requests.request(
Expand Down

0 comments on commit 6777f70

Please sign in to comment.