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:
|
if devenv:
|
||||||
print(msg)
|
print(msg)
|
||||||
else:
|
else:
|
||||||
url = const.SLACK_CALLBACK
|
url = const.SLACK_DOORLOG_CALLBACK
|
||||||
requests.post(url, json={"text": msg })
|
requests.post(url, json={"text": msg })
|
||||||
|
|
||||||
def build_query(base_query, fields=[], sort_fields={}):
|
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"]
|
INVENTORY_ASSETS_BASE_URL = os.environ["INVENTORY_ASSETS_BASE_URL"]
|
||||||
MONGO_URI = os.environ["MONGO_URI"]
|
MONGO_URI = os.environ["MONGO_URI"]
|
||||||
MEMBERS_HOST = os.environ["MEMBERS_HOST"]
|
MEMBERS_HOST = os.environ["MEMBERS_HOST"]
|
||||||
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"]
|
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"] # used to verify (deprecated) incoming requests from slack
|
||||||
SLACK_CALLBACK = os.environ["SLACK_CALLBACK"]
|
SLACK_DOORLOG_CALLBACK = os.environ["SLACK_DOORLOG_CALLBACK"] # used for sending logs to private channel
|
||||||
|
Loading…
Reference in New Issue
Block a user