Removed unnecessary invisible unicode characters

This commit is contained in:
Marcin-Ramotowski 2025-03-16 16:20:09 +00:00
parent ff07c3433e
commit c1c052a533

View File

@ -7,7 +7,7 @@ from user_views import admin_required, validate_access
task_bp = Blueprint('task_bp', __name__)
# ============================================================
# 🚀 1️⃣ API ENDPOINTS (ROUTES)
# 🚀 1. API ENDPOINTS (ROUTES)
# ============================================================
@task_bp.route('/tasks', methods=['GET'])
@ -85,7 +85,7 @@ def delete_task(task_id):
# ============================================================
# 🔧 2️⃣ UTILITIES
# 🔧 2. UTILITIES
# ============================================================
def check_if_task_exists(task):
@ -97,7 +97,7 @@ def check_if_task_exists(task):
# ============================================================
# ❌ 3️⃣ ERROR HANDLERS
# ❌ 3. ERROR HANDLERS
# ============================================================
@task_bp.errorhandler(403)
@ -111,4 +111,4 @@ def forbidden_error(error):
def not_found_error(error):
response = jsonify(error.description)
response.status_code = 404
return response
return response