mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Fix the duplicated add_server_creation in the API
This commit is contained in:
parent
930c6936d9
commit
f9e5b9bc5f
@ -701,8 +701,6 @@ class ApiServersIndexHandler(BaseApiHandler):
|
|||||||
source_ip=self.get_remote_ip(),
|
source_ip=self.get_remote_ip(),
|
||||||
)
|
)
|
||||||
|
|
||||||
self.controller.crafty_perms.add_server_creation(user["user_id"])
|
|
||||||
|
|
||||||
self.finish_json(
|
self.finish_json(
|
||||||
201,
|
201,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user