mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
c928ccb201
Also extension methods for complete and failed (for coloured UI messaging)
21 lines
493 B
C#
21 lines
493 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Nancy;
|
|
using NzbDrone.Api.Extensions;
|
|
|
|
namespace NzbDrone.Api.ProgressMessaging
|
|
{
|
|
public class ProgressMessageModule : NzbDroneRestModule<ProgressMessageResource>
|
|
{
|
|
public ProgressMessageModule()
|
|
{
|
|
Get["/"] = x => GetAllMessages();
|
|
}
|
|
|
|
private Response GetAllMessages()
|
|
{
|
|
return new List<ProgressMessageResource>().AsResponse();
|
|
}
|
|
}
|
|
} |