handling conid==__model

This commit is contained in:
SPRINX0\prochazka
2024-11-04 15:21:36 +01:00
parent 55745c18e9
commit 41162ee2c3
3 changed files with 12 additions and 1 deletions

View File

@@ -368,6 +368,11 @@ module.exports = {
get_meta: true,
async get({ conid }, req) {
if (conid == '__model') {
return {
_id: '__model',
};
}
testConnectionPermission(conid, req);
return this.getCore({ conid, mask: true });
},