update peertube instance

This commit is contained in:
Ritvik Saraf 2018-12-29 22:23:35 +05:30
parent a83342de0f
commit b1a77fa484
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class PeertubeService extends StreamingService {
}
}
public void setInstance(String url, String name) throws IOException {
public void setInstance(String url, String name) {
this.instance = new PeertubeInstance(url, name);
if(!StringUtil.isBlank(instance.getName())) {
this.getServiceInfo().setName(instance.getName());