mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-21 13:38:21 -05:00
fix: /subscriptions
This commit is contained in:
parent
f48ded5ceb
commit
4a34048841
@ -8,9 +8,9 @@ namespace Minecraft_Realms_Emulator.Controllers
|
|||||||
[RequireMinecraftCookie]
|
[RequireMinecraftCookie]
|
||||||
public class SubscriptionsController : ControllerBase
|
public class SubscriptionsController : ControllerBase
|
||||||
{
|
{
|
||||||
[HttpGet("{id}")]
|
[HttpGet("{wId}")]
|
||||||
[CheckRealmOwner]
|
[CheckRealmOwner]
|
||||||
public ActionResult<string> GetSubscription(int id)
|
public ActionResult<string> GetSubscription(int wId)
|
||||||
{
|
{
|
||||||
return BadRequest("No subscription for you :(");
|
return BadRequest("No subscription for you :(");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user