tmp
This commit is contained in:
@@ -6,7 +6,7 @@ class HandlerHealthProfile {
|
||||
}
|
||||
|
||||
// 白名单:只允许写入 schema 定义的顶层字段(兼容 'profile.name' 等点号路径)
|
||||
static PROFILE_FIELDS = ["userId", "profile", "health"];
|
||||
static PROFILE_FIELDS = ["userId", "profile", "location", "health"];
|
||||
|
||||
static pickFields(body) {
|
||||
const picked = {};
|
||||
|
||||
Reference in New Issue
Block a user