Skip to content

Commit

Permalink
Update subscriptions.md
Browse files Browse the repository at this point in the history
I was little confused while tried to add this to `Endpoint` because felt to be in this context:
```elixir
use Absinthe.Phoenix.Socket,
    schema: MyApp.Web.Schema
```
I think setup guide can be more clear with adding `UserSocket` filename to the step instruction.
  • Loading branch information
vadimshvetsov committed Jun 8, 2020
1 parent 3d55896 commit a68e213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/subscriptions.md
Expand Up @@ -63,7 +63,7 @@ In your `MyAppWeb.Endpoint` module add:
use Absinthe.Phoenix.Endpoint
```

For your socket, different configurations are used depending on what version of
For your socket, different configurations are used in `MyAppWeb.UserSocket` depending on what version of
Phoenix you're using.

#### Phoenix 1.3 and 1.4
Expand Down

0 comments on commit a68e213

Please sign in to comment.