json_decoder -> json_encoder

This commit is contained in:
Ryan Johnson 2018-04-11 22:08:37 -07:00 committed by GitHub
parent 11836583b1
commit 293b660ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ plug Plug.Parsers,
plug PlugMicropub,
handler: MyApp.MicropubHandler,
json_decoder: Poison
json_encoder: Poison
```
### Forwarding
@ -31,7 +31,7 @@ forward "/micropub",
to: PlugMicropub,
init_opts: [
handler: MyApp.MicropubHandler,
json_decoder: Poison
json_encoder: Poison
]
```
@ -41,7 +41,7 @@ forward "/micropub",
forward "/micropub",
PlugMicropub,
handler: MyApp.MicropubHandler,
json_decoder: Poison
json_encoder: Poison
```
[1]: https://micropub.rocks/