Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Grubenmann authored and Panaetius committed Oct 7, 2024
1 parent da2864e commit f122db0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/renku_data_services/authz/authz.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ async def _get_members_helper(
member = Member(
user_id=response.relationship.subject.object.object_id,
role=member_role,
resource_id=response.relationship.resource.object_id,
resource_id=ULID.from_str(response.relationship.resource.object_id),
)

yield member
Expand Down
2 changes: 2 additions & 0 deletions components/renku_data_services/session/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ async def update_launcher(

env_payload = kwargs.get("environment", {})
await self.__update_launcher_environment(user, launcher, session, new_custom_environment, **env_payload)
await session.flush()
await session.refresh(launcher)
return launcher.dump()

async def __update_launcher_environment(
Expand Down

0 comments on commit f122db0

Please sign in to comment.