import src.controllers.offerings as Offerings
from flask import Blueprint
from flask_cors import CORS
from src.web.utils.run_flask_controller import run_flask_controller
blueprint = Blueprint('offerings', __name__, url_prefix='/offerings')
CORS(blueprint)


@blueprint.route('/', methods=['POST'])
def r_main():
    return run_flask_controller(Offerings.post_offering)


@blueprint.route('/latest', methods=['GET'])
def r_latest():
    return run_flask_controller(Offerings.get_latest)


@blueprint.route('/search', methods=['POST'])
def r_search():
    return run_flask_controller(Offerings.post_search)

704591019a20e09dc8e58592ea0a92a6d994eed2
<mask token>


@blueprint.route('/', methods=['POST'])
def r_main():
    return run_flask_controller(Offerings.post_offering)


<mask token>


@blueprint.route('/search', methods=['POST'])
def r_search():
    return run_flask_controller(Offerings.post_search)

<mask token>


@blueprint.route('/', methods=['POST'])
def r_main():
    return run_flask_controller(Offerings.post_offering)


@blueprint.route('/latest', methods=['GET'])
def r_latest():
    return run_flask_controller(Offerings.get_latest)


@blueprint.route('/search', methods=['POST'])
def r_search():
    return run_flask_controller(Offerings.post_search)

<mask token>
CORS(blueprint)


@blueprint.route('/', methods=['POST'])
def r_main():
    return run_flask_controller(Offerings.post_offering)


@blueprint.route('/latest', methods=['GET'])
def r_latest():
    return run_flask_controller(Offerings.get_latest)


@blueprint.route('/search', methods=['POST'])
def r_search():
    return run_flask_controller(Offerings.post_search)

import src.controllers.offerings as Offerings
from flask import Blueprint
from flask_cors import CORS
from src.web.utils.run_flask_controller import run_flask_controller
blueprint = Blueprint('offerings', __name__, url_prefix='/offerings')
CORS(blueprint)


@blueprint.route('/', methods=['POST'])
def r_main():
    return run_flask_controller(Offerings.post_offering)


@blueprint.route('/latest', methods=['GET'])
def r_latest():
    return run_flask_controller(Offerings.get_latest)


@blueprint.route('/search', methods=['POST'])
def r_search():
    return run_flask_controller(Offerings.post_search)
