From fb1398c10454b942a197c40adb70d7b6bd4c6069 Mon Sep 17 00:00:00 2001 From: Mike0001-droid Date: Thu, 6 Jun 2024 16:51:10 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=82=D0=B8=D0=BF=D1=8B=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85?= =?UTF-8?q?=20=D1=83=20=D1=81=D1=85=D0=B5=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/proj/audio/schemas.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/proj/audio/schemas.py b/server/proj/audio/schemas.py index 07150fa..bf843fa 100644 --- a/server/proj/audio/schemas.py +++ b/server/proj/audio/schemas.py @@ -15,31 +15,31 @@ class SongSchema(AutoSchema): name='title', location='form', required=False, - schema=coreschema.Array(description='Название трека') + schema=coreschema.String(description='Название трека') ), coreapi.Field( name='artist', location='form', required=False, - schema=coreschema.Integer(description='Исполнитель') + schema=coreschema.String(description='Исполнитель') ), coreapi.Field( name='album', location='form', required=False, - schema=coreschema.Integer(description='Альбом трека') + schema=coreschema.String(description='Альбом трека') ), coreapi.Field( name='genre', location='form', required=False, - schema=coreschema.Integer(description='Жанр трека') + schema=coreschema.String(description='Жанр трека') ), coreapi.Field( name='art', location='form', required=False, - schema=coreschema.Integer(description='Изображение трека') + schema=coreschema.String(description='Изображение трека') ), ] \ No newline at end of file