Browse Source

Added error message for invalid user in blog rss

pull/50/head
Teknikode 6 years ago
parent
commit
9c6969e529
  1. 2
      Teknik/Areas/RSS/Controllers/RSSController.cs

2
Teknik/Areas/RSS/Controllers/RSSController.cs

@ -68,7 +68,9 @@ namespace Teknik.Areas.RSS.Controllers @@ -68,7 +68,9 @@ namespace Teknik.Areas.RSS.Controllers
}
else
{
SyndicationFeed badUserFeed = new SyndicationFeed("No Blog Available", "The specified user does not exist", new Uri(blogUrl));
return new RssResult(badUserFeed);
}
}

Loading…
Cancel
Save