2024-01-08 21:02:27 +00:00
|
|
|
# To connect with pretix's data
|
|
|
|
# WIP to not commit
|
|
|
|
# DrewTW
|
|
|
|
import string
|
|
|
|
import httpx
|
|
|
|
import json
|
|
|
|
from ext import *
|
|
|
|
from config import *
|
|
|
|
from sanic import response
|
|
|
|
from sanic import Blueprint
|
2024-01-21 23:35:44 +00:00
|
|
|
from sanic.log import logger
|
2024-01-08 21:02:27 +00:00
|
|
|
|
|
|
|
def checkConfig():
|
|
|
|
if (not DEV_MODE) and DUMMY_DATA:
|
2024-01-21 23:35:44 +00:00
|
|
|
logger.warn('It is strongly unadvised to use dummy data in production')
|
2024-01-08 21:02:27 +00:00
|
|
|
|
|
|
|
def getOrders(page):
|
|
|
|
return None
|
|
|
|
|
|
|
|
def getOrder(code):
|
|
|
|
return None
|