このコミットが含まれているのは:
@@ -15,7 +15,7 @@ class PostCreatePreflight
|
||||
@host = host
|
||||
end
|
||||
|
||||
def run
|
||||
def run locale
|
||||
preview = PostImportPreviewer.new.preview_rows(
|
||||
rows: [preview_row],
|
||||
fetch_metadata: false).first
|
||||
@@ -53,7 +53,7 @@ class PostCreatePreflight
|
||||
original_created_from: preview[:attributes]['original_created_from'],
|
||||
original_created_before: preview[:attributes]['original_created_before'],
|
||||
duration: preview[:attributes]['duration'],
|
||||
video_ms: preview[:attributes]['video_ms'] }).build!
|
||||
video_ms: preview[:attributes]['video_ms'] }).build!(locale)
|
||||
|
||||
{
|
||||
url: plan[:url],
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする