fix: youtube_url => video_url

This commit is contained in:
mso7nueh
2024-11-25 15:47:54 +03:00
parent 35d3855613
commit e4bca86b9e
12 changed files with 76 additions and 76 deletions

View File

@@ -13,7 +13,7 @@ class BlogPostRepository {
Future<void> createBlogPost(
String? title,
String? youtubeURL,
String? videoUrl,
String? description,
XFile? image,
) async {
@@ -21,7 +21,7 @@ class BlogPostRepository {
'title': title,
'description': description,
'state': 'active',
'youtube_url': youtubeURL,
'video_url': videoUrl,
'image': image != null ? await MultipartFile.fromFile((await ImageCompressUtility.compressFile(File(image.path))).path, filename: image.name) : null,
});