mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
parent
b0872ce414
commit
4c317a6158
1 changed files with 2 additions and 2 deletions
|
@ -376,7 +376,7 @@ public class ResponseHelper {
|
|||
StreamInfoItem item = o;
|
||||
SyndEntry entry = new SyndEntryImpl();
|
||||
entry.setAuthor(item.getUploaderName());
|
||||
entry.setUri(item.getUrl());
|
||||
entry.setLink(item.getUrl());
|
||||
entry.setTitle(item.getName());
|
||||
entries.add(entry);
|
||||
});
|
||||
|
@ -822,7 +822,7 @@ public class ResponseHelper {
|
|||
|
||||
entry.setAuthors(Collections.singletonList(person));
|
||||
|
||||
entry.setUri(Constants.FRONTEND_URL + "/watch?v=" + video.getId());
|
||||
entry.setLink(Constants.FRONTEND_URL + "/watch?v=" + video.getId());
|
||||
entry.setTitle(video.getTitle());
|
||||
entry.setPublishedDate(new Date(video.getUploaded()));
|
||||
entries.add(entry);
|
||||
|
|
Loading…
Reference in a new issue