From 9f7c0b4b3581e5c8cc3f925f779e1bed0e5e33f7 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Tue, 30 Jan 2024 14:33:50 -0500 Subject: [PATCH] add TODO --- backend/routes/screenshot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/routes/screenshot.py b/backend/routes/screenshot.py index 0ce497e..a09e0d1 100644 --- a/backend/routes/screenshot.py +++ b/backend/routes/screenshot.py @@ -23,6 +23,7 @@ async def capture_screenshot( if not auth_token: raise Exception("No auth token with capture_screenshot") + # TODO: Clean up this code and send the users correct error messages # If API key is not passed in, only use the platform ScreenshotOne API key if the user is a subscriber if not api_key: res = await does_user_have_subscription_credits(auth_token)