Skip to content

Commit

Permalink
chore: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed May 27, 2024
1 parent 32d1a2b commit 2fea821
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/nostr/nostr.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,10 @@ func (svc *Service) SubscriptionHandler(c echo.Context) error {
Ids: &requestData.Filter.IDs,
Authors: &requestData.Filter.Authors,
Kinds: &requestData.Filter.Kinds,
Tags: &requestData.Filter.Tags,
Limit: requestData.Filter.Limit,
Search: requestData.Filter.Search,
}
if requestData.Filter.Tags != nil {
subscription.Tags = &requestData.Filter.Tags
}
if requestData.Filter.Since != nil {
subscription.Since = requestData.Filter.Since.Time()
}
Expand Down

0 comments on commit 2fea821

Please sign in to comment.