Merge branch 'master' of github.com:OneUptime/oneuptime

This commit is contained in:
Simon Larsen 2024-07-10 11:15:04 +01:00
commit 55e043f3bd
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -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: