Fetch endpoints for notifications

- includes check on token type to ensure clients can perform admin style fetches
This commit is contained in:
Martyn Inglis
2016-03-01 13:30:10 +00:00
parent bf4417c05f
commit c5a993ead1
7 changed files with 319 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ class Config(object):
SQLALCHEMY_RECORD_QUERIES = True
VERIFY_CODE_FROM_EMAIL_ADDRESS = os.environ['VERIFY_CODE_FROM_EMAIL_ADDRESS']
NOTIFY_EMAIL_DOMAIN = os.environ['NOTIFY_EMAIL_DOMAIN']
PAGE_SIZE = 50
BROKER_URL = 'sqs://'
BROKER_TRANSPORT_OPTIONS = {