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