Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def init(app):
app.register_error_handler(Exception, handle_error_json)
app.register_blueprint(shop)
app.register_blueprint(product)
app.register_blueprint(favorite_product)
def init(app):
app.register_error_handler(Exception, handle_error_json)
app.register_blueprint(user)
app.register_blueprint(address)
app.register_blueprint(wallet_transaction)
def init(app):
app.register_error_handler(Exception, handle_error_json)
app.register_blueprint(cart_product)
app.register_blueprint(order)
def init(app):
app.register_error_handler(Exception, handle_error_json)
app.register_blueprint(file)