mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-12 23:17:44 +00:00
[render skip] fix api live activities
This commit is contained in:
parent
fc0a0e2010
commit
b78a2df159
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ func (p *postgresLiveActivityRepository) Create(ctx context.Context, la *domain.
|
|||
query := `
|
||||
INSERT INTO live_activities (apns_token, reddit_account_id, access_token, refresh_token, token_expires_at, thread_id, subreddit, next_check_at, expires_at, development)
|
||||
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
|
||||
ON CONFLICT (apns_token) DO UPDATE SET expires_at = $10
|
||||
ON CONFLICT (apns_token) DO UPDATE SET expires_at = $9
|
||||
RETURNING id`
|
||||
|
||||
return p.conn.QueryRow(ctx, query,
|
||||
|
|
Loading…
Reference in a new issue