from flask import Blueprint, request, jsonify from datetime import datetime import geruecht.controller.userController as uc from geruecht.decorator import login_required from geruecht.model import MONEY, GASTRO vorstand = Blueprint("vorstand", __name__) userController = uc.UserController() @vorstand.route("/sm/addUser", methods=['POST', 'GET']) @login_required(groups=[MONEY, GASTRO]) def _addUser(): if request.method == 'GET': return "