Added script attribute for videos

This commit is contained in:
2023-03-04 11:14:54 -05:00
parent 9ab06f0e9c
commit 51ee9f00fb
6 changed files with 35 additions and 1 deletions

View File

@ -31,7 +31,8 @@ namespace '/video' do
name: params[:video_name],
channel_id: params[:video_channel],
directory_path: video_path,
description: params[:video_description]
description: params[:video_description],
script: "# Introduction\n\n# Body\n\n# Conclusions"
)
Dir.mkdir(video_path)