Fix plugin sync bug (#2656)
# What this PR does ## Which issue(s) this PR fixes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
This commit is contained in:
parent
a8a2144a30
commit
d1be11ce32
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def check_gcom_permission(token_string: str, context) -> GcomToken:
|
|||
)[0].boolean_value
|
||||
if allow_signup:
|
||||
# Get org from db or create a new one
|
||||
organization = Organization.objects.get_or_create(
|
||||
organization, _ = Organization.objects.get_or_create(
|
||||
stack_id=str(instance_info["id"]),
|
||||
stack_slug=instance_info["slug"],
|
||||
grafana_url=instance_info["url"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue