Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitamalinov committed Mar 9, 2024
1 parent e219b47 commit 18d3196
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
from services.github.github_manager import verify_webhook_signature
from services.webhook_handler import handle_webhook_event

from testing import apply_patch, original_text, diff

# Create FastAPI instance
app = FastAPI()

Expand All @@ -23,13 +21,6 @@
integrations=[AwsLambdaIntegration()],
traces_sample_rate=1.0
)
@app.get('/test')
def test():
try:
apply_patch(original_text, diff)
except Exception as e:
return {"message": "Error occurred"}
return {"message": original_text}

@app.get("/sentry-debug")
def read_health_check():
Expand Down

0 comments on commit 18d3196

Please sign in to comment.