Skip to content

Commit 39ea59c

Browse files
committed
refactor: remove action from rearrange_hand
1 parent 4a678a6 commit 39ea59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ end
495495
---@param args RearrangeHandArgs The card indices to rearrange the hand with
496496
API.functions["rearrange_hand"] = function(args)
497497
-- Validate required parameters
498-
local success, error_message, error_code, context = validate_request(args, { "action", "cards" })
498+
local success, error_message, error_code, context = validate_request(args, { "cards" })
499499

500500
if not success then
501501
---@cast error_message string

0 commit comments

Comments
 (0)