mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-26 06:26:05 -05:00
watch member check bugfix
This commit is contained in:
parent
0b587e8f04
commit
6f49acffbb
@ -1037,7 +1037,7 @@ where
|
||||
let Some(member_check) = self.with_record(key, |record| {
|
||||
let schema = record.schema();
|
||||
let owner = *record.owner();
|
||||
Box::new(move |watcher| owner == params.watcher || schema.is_member(&watcher))
|
||||
Box::new(move |watcher| owner == watcher || schema.is_member(&watcher))
|
||||
}) else {
|
||||
// Record not found
|
||||
return Ok(WatchResult::Rejected);
|
||||
|
Loading…
x
Reference in New Issue
Block a user