Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing argument in route compile when you try to use EditAllocation#execute method. #68

Open
luiz-otavio opened this issue May 23, 2023 · 1 comment

Comments

@luiz-otavio
Copy link

I know it's not available under the API and I tested to force if I could use that function to change a primary allocation of my server, but that didn't work and it sent a stack trace about the exception:

Error Compiling Route: [application/nodes/{node_id}/allocations/{allocation_id}], incorrect amount of parameters provided. Expected: 2, Provided: 1
@Goksi
Copy link
Contributor

Goksi commented May 23, 2023

It seems that editing allocations is not even available in pterodactyl api, but you can always change primary allocation using using ClientAllocationManager#setPrimary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants