make the endpoints at request time
This commit is contained in:
@ -160,10 +160,7 @@ func __process_request(method: String, endpoint: String, headers: Dictionary, bo
|
||||
"[INF] Recieved request method: %s, endpoint: %s" % [method, endpoint]
|
||||
)
|
||||
|
||||
if !binds:
|
||||
endpoint_func.call_func(request, response)
|
||||
else:
|
||||
endpoint_func.call_func(request, response, binds)
|
||||
endpoint_func.call_func(request, response, binds if binds else [request.endpoint()])
|
||||
|
||||
return response
|
||||
|
||||
|
Reference in New Issue
Block a user