diff options
Diffstat (limited to 'src/nostr/policy')
| -rw-r--r-- | src/nostr/policy/state.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nostr/policy/state.rs b/src/nostr/policy/state.rs index d26b5ec..b850e7b 100644 --- a/src/nostr/policy/state.rs +++ b/src/nostr/policy/state.rs | |||
| @@ -93,9 +93,11 @@ impl StatePolicy { | |||
| 93 | }); | 93 | }); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | let authorized_owners = | 96 | let authorized_owners = crate::git::authorization::pubkey_authorised_for_repo_owners( |
| 97 | crate::git::authorization::pubkey_authorised_for_repo_owners(&event.pubkey, &db_repo_data); | 97 | &event.pubkey, |
| 98 | 98 | &db_repo_data, | |
| 99 | ); | ||
| 100 | |||
| 99 | if authorized_owners.is_empty() { | 101 | if authorized_owners.is_empty() { |
| 100 | tracing::warn!( | 102 | tracing::warn!( |
| 101 | event_id = %event.id, | 103 | event_id = %event.id, |