Skip to content

Commit

Permalink
[FEATURE][WS-1698] set user service status to settings when syncing user
Browse files Browse the repository at this point in the history
  • Loading branch information
chloechen committed Oct 11, 2022
1 parent 5677c53 commit ed7a707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awesome_sso/service/user/sync_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ async def sync_user(user: AwesomeUserType):
config_values = {
config["name"]: config["value"] for config in service["config_values"]
}
if "status" in service and service["status"] == "trial_ended":
config_values["status"] = "trial_ended"
if "status" in service:
config_values["status"] = service["status"]
services_info.append(
{
"service_name": service["service_name"],
Expand Down

0 comments on commit ed7a707

Please sign in to comment.