Skip to content

Commit 5911b36

Browse files
authored
Merge pull request #1310 from code-corps/fix-user-socket
Fix user socket
2 parents c4a3b07 + 4d496f5 commit 5911b36

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/code_corps_web/channels/user_socket.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ defmodule CodeCorpsWeb.UserSocket do
2828
_ -> {:ok, socket}
2929
end
3030
end
31+
def connect(_params, socket) do
32+
{:ok, socket}
33+
end
3134

3235
# Socket id's are topics that allow you to identify all sockets for a given user:
3336
#

priv/repo/structure.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 10.0
6-
-- Dumped by pg_dump version 10.0
5+
-- Dumped from database version 10.1
6+
-- Dumped by pg_dump version 10.1
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

0 commit comments

Comments
 (0)