fix typo
This commit is contained in:
parent
190b7a6076
commit
209b763302
|
@ -31,7 +31,7 @@ class Router:
|
|||
def my_route(request, my_parameter):
|
||||
do stuff...
|
||||
or
|
||||
@sanic.route('/my/url/<my_paramter>:int', methods['GET', 'POST', ...])
|
||||
@sanic.route('/my/url/<my_paramter>:type', methods['GET', 'POST', ...])
|
||||
def my_route_with_type(request, my_parameter):
|
||||
do stuff...
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user