Skip to content

Commit

Permalink
Update network.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Oct 2, 2024
1 parent 5bbc4ca commit ed6f1a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions candig_federation/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

def get_registered_servers():
stored_servers_dict, status_code = authx.auth.get_service_store_secret("federation", key="servers")
print(f"sfdf {stored_servers_dict}, {status_code}")
if status_code == 404:
# no value was found, so this must need to be initialized
stored_servers_dict, status_code = authx.auth.set_service_store_secret("federation", key="servers", value=json.dumps({"servers": {}}))
Expand Down

0 comments on commit ed6f1a6

Please sign in to comment.