Skip to content

Commit

Permalink
Update frieren-cli.py
Browse files Browse the repository at this point in the history
best commit in the world
  • Loading branch information
gcarvellas authored Oct 8, 2023
1 parent 535f4cc commit 3d69fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frieren-cli/frieren-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
print(fern)

# Make api call
r = requests.post("http://localhost:8080/repos", json=fern)
r = requests.post("http://104.248.58.127/api/repos", json=fern) # We put the hack in hackathon
if not 200 <= r.status_code < 300:
print("Error registering project")
else:
with open("open-source.fern", "w+") as f:
del fern['repo_origin']
del fern['fern_branch']
json.dump(fern, f)
json.dump(fern, f)

0 comments on commit 3d69fb3

Please sign in to comment.