mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
Use correct variable (#6325)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
@@ -497,7 +497,7 @@ export class SpaceSecurityMiddleware extends BaseMiddleware implements Middlewar
|
||||
const res = await this.mergeQuery(account, query[field], domain, isSpace)
|
||||
if (res === undefined) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
|
||||
delete (query as any)[field]
|
||||
delete (newQuery as any)[field]
|
||||
} else {
|
||||
;(newQuery as any)[field] = res
|
||||
if (typeof res === 'object') {
|
||||
|
||||
Reference in New Issue
Block a user