Linked Plugin List and Plugin Install endpoints between web and console

This commit is contained in:
2024-12-15 22:49:45 +02:00
parent a12aa66660
commit 424bf2196f
13 changed files with 180 additions and 19 deletions

View File

@@ -0,0 +1,16 @@
using System.Text.Json.Serialization;
namespace DiscordBotWebUI.ServerCommunication;
public class ApiResponse
{
public bool Success { get; }
public string Message { get; }
[JsonConstructor]
public ApiResponse(string message, bool success)
{
Message = message;
Success = success;
}
}