Example #1
0
def get_boards():
    data = {
        'states': [{
            "id": 1,
            "name": "New"
        }, {
            "id": 2,
            "name": "In progress"
        }, {
            "id": 3,
            "name": "Testing"
        }, {
            "id": 4,
            "name": "Done"
        }],
        'boards':
        queries.get_boards(),
        'cards':
        queries.get_cards()
    }
    return jsonify(data)
Example #2
0
def get_boards():
    boards = queries.get_boards(session['userId'])
    return jsonify(boards)
Example #3
0
def get_boards():
    return queries.get_boards()
Example #4
0
def get_boards():
    """
    All the boards
    """

    return queries.get_boards()
Example #5
0
def get_boards():
    selected_boards = queries.get_boards(request.form["username"])

    return jsonify(selectedBoards=selected_boards)
def get_boards():
    boards = queries.get_boards(session_id=session['id'])
    return jsonify(boards)