Device
This commit is contained in:
11
backend/modules/uploads/upload_routes.py
Normal file
11
backend/modules/uploads/upload_routes.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from flask import Blueprint
|
||||
|
||||
from modules.uploads.upload_controller import (
|
||||
upload_device_type_icon_controller,
|
||||
upload_device_avatar_controller,
|
||||
)
|
||||
|
||||
upload_bp = Blueprint("uploads", __name__)
|
||||
|
||||
upload_bp.route("/device-type-icons", methods=["POST"])(upload_device_type_icon_controller)
|
||||
upload_bp.route("/device-avatars", methods=["POST"])(upload_device_avatar_controller)
|
||||
Reference in New Issue
Block a user