monkeyDluffy6017 commented on code in PR #10232:
URL: https://github.com/apache/apisix/pull/10232#discussion_r1335338117


##########
apisix/admin/resource.lua:
##########
@@ -139,7 +181,7 @@ function _M:post(id, conf, sub_path, args)
         return 405, {error_msg = "not supported `POST` method for " .. 
self.kind}
     end
 
-    local id, err = self:check_conf(id, conf, false)
+    local id, err = self:check_conf(id, conf, false, false)

Review Comment:
   You don't need to pass false, nil is ok



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to