Skip to content

Commit

Permalink
refactor(backend/api/betting): remove unused html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
amine4567 committed Jul 20, 2024
1 parent 70d1e57 commit fd75bee
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
5 changes: 2 additions & 3 deletions backend/api/components/betting/controller.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from flask import Blueprint, jsonify, request, render_template, Response
from flask import Blueprint, jsonify, request, Response

from api.consts import COMMON_API_PREFIX
import api.model.betting

betting_api = Blueprint("betting_api", __name__, url_prefix=COMMON_API_PREFIX + "/betting",
template_folder="templates")
betting_api = Blueprint("betting_api", __name__, url_prefix=COMMON_API_PREFIX + "/betting")


@betting_api.route("/", methods=["GET"])
Expand Down
Empty file.
8 changes: 0 additions & 8 deletions backend/api/components/betting/templates/notallowed.html

This file was deleted.

8 changes: 0 additions & 8 deletions backend/api/components/betting/templates/placeholder.html

This file was deleted.

0 comments on commit fd75bee

Please sign in to comment.