Websocket handler: fix never matching code on failed auth
authorrinpatch <rinpatch@sdf.org>
Thu, 10 Sep 2020 18:26:52 +0000 (21:26 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 10 Sep 2020 18:26:52 +0000 (21:26 +0300)
commit01fa68fe4542286519e3520793c6b59103b050ff
tree8bda024397373afea9d4ddb3dd388716d1446235
parente16e8f98169f822416c18778abfa8495a486c8f2
Websocket handler: fix never matching code on failed auth

`:cowboy_req.reply` does not return tuples since 2.0, see
https://ninenines.eu/docs/en/cowboy/2.4/manual/cowboy_req.reply/
lib/pleroma/web/mastodon_api/websocket_handler.ex