removed user_logger decorators from some actions in API
parent
ce55c0484f
commit
b7b8f78ba1
|
@ -52,7 +52,6 @@ class UserCollection:
|
||||||
resp.body = json.dumps(result)
|
resp.body = json.dumps(result)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@user_logger
|
|
||||||
def on_post(req, resp):
|
def on_post(req, resp):
|
||||||
"""Handles POST requests"""
|
"""Handles POST requests"""
|
||||||
try:
|
try:
|
||||||
|
@ -352,7 +351,6 @@ class UserLogin:
|
||||||
resp.status = falcon.HTTP_200
|
resp.status = falcon.HTTP_200
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@user_logger
|
|
||||||
def on_put(req, resp):
|
def on_put(req, resp):
|
||||||
"""Handles PUT requests"""
|
"""Handles PUT requests"""
|
||||||
try:
|
try:
|
||||||
|
@ -518,7 +516,6 @@ class ChangePassword:
|
||||||
resp.status = falcon.HTTP_200
|
resp.status = falcon.HTTP_200
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@user_logger
|
|
||||||
def on_put(req, resp):
|
def on_put(req, resp):
|
||||||
"""Handles PUT requests"""
|
"""Handles PUT requests"""
|
||||||
if 'USER-UUID' not in req.headers or \
|
if 'USER-UUID' not in req.headers or \
|
||||||
|
@ -634,7 +631,6 @@ class ResetPassword:
|
||||||
resp.status = falcon.HTTP_200
|
resp.status = falcon.HTTP_200
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@user_logger
|
|
||||||
def on_put(req, resp):
|
def on_put(req, resp):
|
||||||
"""Handles PUT requests"""
|
"""Handles PUT requests"""
|
||||||
if 'USER-UUID' not in req.headers or \
|
if 'USER-UUID' not in req.headers or \
|
||||||
|
|
Loading…
Reference in New Issue