comments for doorboy log channel
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
66742ad577
commit
ffa61f2ed1
@ -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={}):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user