Skip to content

Commit

Permalink
Remove feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Sep 27, 2024
1 parent 5767a4b commit 0348524
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/google_pubsub_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ impl PublishEvents for GooglePubSubClient {
) -> Result<(), PublisherError> {
let pubsub_messages: Result<Vec<PubsubMessage>, PublisherError> = follow_changes
.iter()
.filter(|message| {
// TODO: Temporary filter while developing this service
ALLOWED_PUBKEYS.contains(&message.followee().to_hex().as_str())
})
// .filter(|message| {
// // TODO: Temporary filter while developing this service
// ALLOWED_PUBKEYS.contains(&message.followee().to_hex().as_str())
// })
.map(|message| {
let data =
serde_json::to_vec(message).map_err(|_| PublisherError::SerializationError)?;
Expand Down

0 comments on commit 0348524

Please sign in to comment.