Correct the callback matching for the ProvidedCallback function.

main
absc 2024-07-25 01:18:00 +02:00
parent 8f7481d785
commit 285f4ad402
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ allowed_methods(Req, State) ->
{[<<"GET">>], Req, State}. {[<<"GET">>], Req, State}.
content_types_provided(Req, State) -> content_types_provided(Req, State) ->
{[{{'*'}, send_body}], Req, State}. {[{{'_', '*'}, send_body}], Req, State}.
known_methods(Req, State) -> known_methods(Req, State) ->
{[<<"GET">>], Req, State}. {[<<"GET">>], Req, State}.