Commit 5f03bb7d authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Add upload date to response

parent 165bbd85
......@@ -133,7 +133,8 @@ class YoutubeService {
'title' => $field['snippet']['title'],
'description' => strip_tags($field['snippet']['description']),
'thumbnail' => $previewImage['url'],
'url' => 'https://www.youtube.com/watch?v=' . $field['id']
'url' => 'https://www.youtube.com/watch?v=' . $field['id'],
'publishedAt' => $field['snippet']['publishedAt'],
];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment