limit custom playlist items to 100

This commit is contained in:
cwilvx
2024-08-04 19:31:22 +03:00
parent e562fa691d
commit 6d2aac084d
5 changed files with 20 additions and 43 deletions
-3
View File
@@ -14,7 +14,6 @@ from pydantic import BaseModel, Field
from flask_openapi3 import Tag
from flask_openapi3 import APIBlueprint
# from app.db.sqlite.auth import SQLiteAuthMethods as authdb
from app.db.userdata import UserTable
from app.utils.auth import check_password, hash_password
from app.config import UserConfig
@@ -307,8 +306,6 @@ def get_all_users(query: GetAllUsersQuery):
Get all users (if you're an admin, you will also receive accounts settings)
"""
config = UserConfig()
# config.enableGuest = True
# config.usersOnLogin = True
settings = {
"enableGuest": False,
"usersOnLogin": config.usersOnLogin,