mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Merge branch 'master' of github.com:OneUptime/oneuptime
This commit is contained in:
commit
55e043f3bd
@ -31,7 +31,7 @@ async def validateSecretKey(secretKey):
|
|||||||
|
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
print(f"Validating secret key")
|
print(f"Validating secret key")
|
||||||
url = f"{ONEUPTIME_URL}/api/code-repository/is-valid/{secretKey}"
|
url = f"{ONEUPTIME_URL}/api/copilot-code-repository/is-valid/{secretKey}"
|
||||||
async with session.get(url) as response:
|
async with session.get(url) as response:
|
||||||
print(response)
|
print(response)
|
||||||
if response.status == 200:
|
if response.status == 200:
|
||||||
|
Loading…
Reference in New Issue
Block a user