Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aarushik93 committed Oct 16, 2024
1 parent 05a354a commit 78d0a84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogpt_platform/backend/backend/server/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run_service(self):
health_router = APIRouter()
health_router.add_api_route(
path="/health",
endpoint=self.health_check,
endpoint=self.health,
methods=["GET"],
tags=["health"],
)
Expand Down Expand Up @@ -640,7 +640,7 @@ def get_execution_schedules(
execution_scheduler = self.execution_scheduler_client
return execution_scheduler.get_execution_schedules(graph_id, user_id)

async def health_check(self):
async def health(self):
return {"status": "healthy"}

@classmethod
Expand Down

0 comments on commit 78d0a84

Please sign in to comment.