comments for doorboy log channel
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
rasmus 2023-08-17 22:21:09 +03:00
parent 66742ad577
commit ffa61f2ed1
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ def spam(msg):
if devenv:
print(msg)
else:
url = const.SLACK_CALLBACK
url = const.SLACK_DOORLOG_CALLBACK
requests.post(url, json={"text": msg })
def build_query(base_query, fields=[], sort_fields={}):

View File

@ -17,5 +17,5 @@ AWS_ENDPOINT_URL = os.environ["AWS_ENDPOINT_URL"]
INVENTORY_ASSETS_BASE_URL = os.environ["INVENTORY_ASSETS_BASE_URL"]
MONGO_URI = os.environ["MONGO_URI"]
MEMBERS_HOST = os.environ["MEMBERS_HOST"]
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"]
SLACK_CALLBACK = os.environ["SLACK_CALLBACK"]
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"] # used to verify (deprecated) incoming requests from slack
SLACK_DOORLOG_CALLBACK = os.environ["SLACK_DOORLOG_CALLBACK"] # used for sending logs to private channel