1
1
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-12-24 05:18:23 -05:00

fix: /subscriptions

This commit is contained in:
CyberL1 2024-05-22 07:00:26 +02:00
parent f48ded5ceb
commit 4a34048841

View File

@ -8,9 +8,9 @@ namespace Minecraft_Realms_Emulator.Controllers
[RequireMinecraftCookie]
public class SubscriptionsController : ControllerBase
{
[HttpGet("{id}")]
[HttpGet("{wId}")]
[CheckRealmOwner]
public ActionResult<string> GetSubscription(int id)
public ActionResult<string> GetSubscription(int wId)
{
return BadRequest("No subscription for you :(");
}