chore: code clean-up

This commit is contained in:
Vlad Stan 2023-05-05 14:27:07 +03:00
parent d2e1dcc2ee
commit b748dc3cb0
2 changed files with 68 additions and 14 deletions

View file

@ -93,8 +93,6 @@ async def api_test_endpoint(data: TestMessage) -> TestMessageResponse:
)
private_key.sign_event(dm)
print("### api_test_endpoint", data)
return TestMessageResponse(private_key=private_key.hex(), public_key=to_public_key, event_json=dm.to_message())
except (ValueError, AssertionError) as ex:
raise HTTPException(