Completed server variables in server crud

This commit is contained in:
2024-12-23 23:51:01 +01:00
parent 2b697dffb7
commit 4326af2925
8 changed files with 159 additions and 27 deletions

View File

@@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
namespace MoonlightServers.Shared.Http.Requests.Admin.ServerVariables;
public class UpdateServerVariableRequest
{
[Required(ErrorMessage = "You need to provide a key for the variable")]
public string Key { get; set; }
public string Value { get; set; }
}