We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e28abd commit c1ea4aeCopy full SHA for c1ea4ae
pythonanywhere/api.py
@@ -25,7 +25,7 @@ class AuthenticationError(Exception):
25
26
def get_api_endpoint(flavour="webapps"):
27
domain = os.environ.get('PYTHONANYWHERE_DOMAIN', 'pythonanywhere.com')
28
- return 'https://www.{domain}/api/v0/user/{{username}}/{{flavour}}/'.format(domain=domain, flavour=flavour)
+ return 'https://www.{domain}/api/v0/user/{{username}}/{flavour}/'.format(domain=domain, flavour=flavour)
29
30
31
def call_api(url, method, **kwargs):
0 commit comments