mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
9787cf6cdd
* Improve indexer health check messages Fixed: Improve health check message when all enabled indexers are disabled due to failures Closes #1551 * Fixed: Health check failing and preventing others from running * Fixed Indexer Health Checks and tests.
18 lines
372 B
C#
18 lines
372 B
C#
using System;
|
|
|
|
namespace NzbDrone.Common.Extensions
|
|
{
|
|
public static class Base64Extensions
|
|
{
|
|
public static string ToBase64(this byte[] bytes)
|
|
{
|
|
return Convert.ToBase64String(bytes);
|
|
}
|
|
|
|
public static string ToBase64(this long input)
|
|
{
|
|
return BitConverter.GetBytes(input).ToBase64();
|
|
}
|
|
}
|
|
}
|