Skip to content

Commit

Permalink
Thanks Umbraco
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Sep 30, 2021
1 parent fd7ff37 commit e511f72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public object GetRedirects(int page = 1, int limit = 20, string type = null, str
RedirectsSearchResult result = _redirects.GetRedirects(options);

// Map the result for the API
return _backOffice.Map(result);
return new JsonResult(_backOffice.Map(result));

} catch (RedirectsException ex) {

Expand Down

0 comments on commit e511f72

Please sign in to comment.