upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/nostr/policy
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-09 19:58:41 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-09 19:58:41 +0000
commitb28a356cb41077ccee12a9c52f4ef2054e76cac6 (patch)
tree2a0867f1ab0216e86efa062aef90b2b8077e6fb9 /src/nostr/policy
parent6dd9fcd5392891b0ddb7894e2c5cb40450eae00e (diff)
chore: cargo fmt
Diffstat (limited to 'src/nostr/policy')
-rw-r--r--src/nostr/policy/state.rs8
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,