mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
fixed #670
This commit is contained in:
parent
d5127073bc
commit
cb11267fd2
2 changed files with 3 additions and 3 deletions
|
@ -33,11 +33,11 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
if (settings.EnableCustomDonationUrl)
|
||||
{
|
||||
return Response.AsJson(new { url = settings.CustomDonationUrl, message = settings.CustomDonationMessage });
|
||||
return Response.AsJson(new { url = settings.CustomDonationUrl, message = settings.CustomDonationMessage, enabled = true });
|
||||
}
|
||||
else
|
||||
{
|
||||
return Response.AsJson(new { url = settings.CustomDonationUrl, message = settings.CustomDonationMessage });
|
||||
return Response.AsJson(new { enabled = false });
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue