Skip to content

Commit 262b30d

Browse files
committed
Make not_prod function async
1 parent 4afa259 commit 262b30d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pybot/endpoints/api/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def production_only(func):
9393
staging environments.
9494
"""
9595

96-
def not_prod(request: SlackApiRequest, app):
96+
async def not_prod(request: SlackApiRequest, app):
9797
logger.info(
9898
f"Received request on staging to {request.request.raw_path}. Returning 200"
9999
)

0 commit comments

Comments
 (0)