From b2d1e1cfd0b2d08673d086c7de3ed196b12039c0 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 18 Sep 2023 19:05:13 +0530 Subject: [PATCH] feat: write account details to json file as part of create_access_token --- integration/forgejo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration/forgejo.py b/integration/forgejo.py index d090e43..afe56f2 100755 --- a/integration/forgejo.py +++ b/integration/forgejo.py @@ -294,6 +294,8 @@ class Forgejo: print("Created access token") data = resp.json() with open(file, "w") as f: + data["login"] = self.username + data["email"] = self.email content = json.dumps(data) f.write(content) print(f"Wrote access token to {file}")