mirror of
https://github.com/christianselig/apollo-backend
synced 2025-04-09 02:15:31 +00:00
fix query for watchers
This commit is contained in:
parent
9ccbb605b4
commit
586458a242
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ func (p *postgresWatcherRepository) GetByTypeAndWatcheeID(ctx context.Context, t
|
|||
devices_accounts.watcher_notifiable = TRUE AND
|
||||
devices_accounts.global_mute = FALSE`
|
||||
|
||||
return p.fetch(ctx, query, typ, id)
|
||||
return p.fetch(ctx, query, int64(typ), id)
|
||||
}
|
||||
|
||||
func (p *postgresWatcherRepository) GetByTrendingSubredditID(ctx context.Context, id int64) ([]domain.Watcher, error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue