Skip to content

Commit

Permalink
YDA-6125: update SRAM logo parameter
Browse files Browse the repository at this point in the history
Update the SRAM logo parameter to use a BASE64 encoded image rather
than a URL. This is needed because of a breaking change in the SRAM
API: SURFscz/SBS#1604

See https://sram.surf.nl/apidocs/#/Organisation/post_api_collaborations_v1
for information on the current version of the API.
  • Loading branch information
stsnel committed Jan 17, 2025
1 parent 6fa2729 commit d526600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sram.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def sram_post_collaboration(ctx, group_name, description):
"disclose_member_information": True,
"disclose_email_information": True,
"administrators": [session_vars.get_map(ctx.rei)["client_user"]["user_name"]],
"logo": config.sram_co_logo_url,
"logo": config.sram_co_logo,
"tags": [config.sram_co_default_label, group_type]
}

Expand Down
2 changes: 1 addition & 1 deletion util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __repr__(self):
sram_verbose_logging=False,
sram_tls_verify=True,
sram_co_default_label=None,
sram_co_logo_url=None,
sram_co_logo=None,
arb_enabled=False,
arb_exempt_resources=[],
arb_min_gb_free=0,
Expand Down

0 comments on commit d526600

Please sign in to comment.