mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 01:57:21 +00:00
c928ccb201
Also extension methods for complete and failed (for coloured UI messaging)
21 lines
No EOL
493 B
C#
21 lines
No EOL
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();
|
|
}
|
|
}
|
|
} |