[UPD] odex_mobile
This commit is contained in:
parent
0bfc8eb235
commit
34ce4f9e66
|
|
@ -35,7 +35,7 @@ class AuthenticationController(http.Controller):
|
|||
|
||||
end_time_pc = time.perf_counter()
|
||||
execution_time_pc = end_time_pc - start_time_pc
|
||||
_logger.info("TIME VALIDATION API: %s seconds", execution_time_pc)
|
||||
_logger.info("TIME VALIDATION API: %s seconds, user id: %s, user name: %s", execution_time_pc, request.env.user.id, request.env.user.name)
|
||||
return http_helper.response(message="uploaded success",data=result['data'])
|
||||
|
||||
@http.route('/rest_api/refresh',type='http', auth='none', csrf=False, cors='*',methods=['POST'])
|
||||
|
|
@ -254,5 +254,5 @@ class AuthenticationController(http.Controller):
|
|||
http_helper.cleanup()
|
||||
end_time_pc = time.perf_counter()
|
||||
execution_time_pc = end_time_pc - start_time_pc
|
||||
_logger.info("TIME LOGIN API: %s seconds", execution_time_pc)
|
||||
_logger.info("TIME LOGIN API: %s seconds, user id: %s, user name: %s", execution_time_pc, user.id, user.name)
|
||||
return http_helper.response(data=dic, message=_("User log in successfully"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue