Skip to content

Commit

Permalink
TASK-2: removed the message from the view
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailButnaru committed Jun 27, 2020
1 parent bf1d83c commit 78d20bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/cryptprice/views/crypto_price_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,5 @@ def post(self, request):
)

return Response(status=status.HTTP_201_CREATED)
else:
Client.chat_postEphemeral(
user=events["user"],
channel=events["channel"],
text=f"Sorry you must choose from the list provided if you want "
f"to see the live price of ['BTC', 'ETH', 'XRP']",
)

return Response(status=status.HTTP_200_OK)
Empty file.

0 comments on commit 78d20bb

Please sign in to comment.