mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: ignore _ prefixed keys when serializing
This commit is contained in:
1 parent
9a538130ee
commit
90cdc163ca
6 files changed
+53
-32
No files matched your search
@@ -248,7 +248,7 @@ class DomainJoinApplicationsHandler extends ManageHandler {
|
||||
else joinSettings.expire = moment().add(expire, 'hours').toDate();
|
||||
if (method === domain.JOIN_METHOD_CODE) joinSettings.code = invitationCode;
|
||||
}
|
||||
await domain.edit(domainId, { join: joinSettings });
|
||||
await domain.edit(domainId, { _join: joinSettings });
|
||||
this.back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user