Update endpoints.py

This commit is contained in:
akp 2022-10-29 18:47:14 +01:00
parent d684d3c12b
commit 8bf86dbd1c
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -1,9 +1,6 @@
from re import A
from typing import *
import urllib
import uuid
import flask
from dataclasses import dataclass
import db
import paths
@ -62,6 +59,7 @@ class Endpoints:
return flask.abort(400, error_text)
# TODO: store in database
# TODO: Form responses
return flask.jsonify({
"id": uuid.uuidv4()