diff --git a/MyMcRealms/Compatibility.cs b/MyMcRealms/Compatibility.cs deleted file mode 100644 index b2eed36..0000000 --- a/MyMcRealms/Compatibility.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace MyMcRealms -{ - public enum Compatility - { - COMPATIBLE, - OTHER, - OUTDATED - } -} diff --git a/MyMcRealms/Controllers/InvitesController.cs b/MyMcRealms/Controllers/InvitesController.cs index b295d83..098fddc 100644 --- a/MyMcRealms/Controllers/InvitesController.cs +++ b/MyMcRealms/Controllers/InvitesController.cs @@ -45,7 +45,7 @@ namespace MyMcRealms.Controllers ErrorResponse errorResponse = new() { ErrorCode = 400, - ErrorMsg = "Player already whitelisteed" + ErrorMsg = "Player already whitelisted" }; return BadRequest(errorResponse); diff --git a/MyMcRealms/Controllers/McoController.cs b/MyMcRealms/Controllers/McoController.cs index de9bd20..6ce6c39 100644 --- a/MyMcRealms/Controllers/McoController.cs +++ b/MyMcRealms/Controllers/McoController.cs @@ -18,7 +18,7 @@ namespace MyMcRealms.Controllers [HttpGet("client/compatible")] public string GetCompatible() { - return Compatility.COMPATIBLE.ToString(); + return "COMPATIBLE"; } [HttpGet("v1/news")] @@ -26,7 +26,7 @@ namespace MyMcRealms.Controllers { var news = new NewsResponse { - NewsLink = "https://github.com/CyberL1/Minecraft-Realms-Emulator", + NewsLink = "https://github.com/CyberL1/MyMcRealms", }; return news; diff --git a/MyMcRealms/Responses/WorldResponse.cs b/MyMcRealms/Responses/WorldResponse.cs index 7726cfd..b9783bc 100644 --- a/MyMcRealms/Responses/WorldResponse.cs +++ b/MyMcRealms/Responses/WorldResponse.cs @@ -1,11 +1,8 @@ -using System.Text.Json; - -namespace MyMcRealms.Responses +namespace MyMcRealms.Responses { public class WorldResponse { public int Id { get; set; } - // public Subscription? Subscription { get; set; } public string? Owner { get; set; } public string? OwnerUUID { get; set; } public string? Name { get; set; }