mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-22 22:54:23 +01:00
Stop using deprecated func
This commit is contained in:
@@ -3,7 +3,6 @@ from typing import List
|
||||
from flask import request, session
|
||||
from flask_restx import Namespace, Resource
|
||||
|
||||
from CTFd.api.v1.helpers.models import build_model_filters
|
||||
from CTFd.api.v1.helpers.request import validate_args
|
||||
from CTFd.api.v1.helpers.schemas import sqlalchemy_to_pydantic
|
||||
from CTFd.api.v1.schemas import APIDetailedSuccessResponse, APIListSuccessResponse
|
||||
@@ -18,6 +17,7 @@ from CTFd.models import (
|
||||
)
|
||||
from CTFd.schemas.comments import CommentSchema
|
||||
from CTFd.utils.decorators import admins_only
|
||||
from CTFd.utils.helpers.models import build_model_filters
|
||||
|
||||
comments_namespace = Namespace("comments", description="Endpoint to retrieve Comments")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user