This commit is contained in:
bracesproul
2025-05-11 13:20:33 -07:00
parent 2e74fcecfc
commit 35607c0209
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -1,4 +1,4 @@
.PHONY: format lint lint-fix help
.PHONY: format lint help
format:
ruff format .
@@ -12,4 +12,3 @@ help:
@echo "Available commands:"
@echo " make format - Format code with ruff"
@echo " make lint - Check code with ruff"
@echo " make lint-fix - Fix linting issues with ruff"
-3
View File
@@ -109,7 +109,6 @@ async def fetch_tokens(config: RunnableConfig) -> dict[str, Any]:
current_tokens = await get_tokens(config)
if current_tokens:
print("Current tokens found")
return current_tokens
supabase_token = config.get("configurable", {}).get("x-supabase-access-token")
@@ -122,7 +121,5 @@ async def fetch_tokens(config: RunnableConfig) -> dict[str, Any]:
mcp_tokens = await get_mcp_access_token(supabase_token, base_mcp_token_exchange_url)
print(f"Created new tokens!!!!!!\n\n{mcp_tokens}\n\n")
await set_tokens(config, mcp_tokens)
return mcp_tokens