monkeyDluffy6017 commented on code in PR #10232:
URL: https://github.com/apache/apisix/pull/10232#discussion_r1335330262
##########
apisix/admin/resource.lua:
##########
@@ -49,7 +49,41 @@ local function split_typ_and_id(id, sub_path)
end
-function _M:check_conf(id, conf, need_id, typ)
+local function check_create_update_time(conf)
+ local not_allow_create_time = "forbidden create_time in request body"
+ local not_allow_update_time = "forbidden update_time in request body"
Review Comment:
```suggestion
local not_allow_create_time = "the property is forbidden: create_time"
local not_allow_update_time = "the property is forbidden: update_time"
```
--
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]