mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 05:07:43 +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 := `
|
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)
|
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)
|
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`
|
RETURNING id`
|
||||||
|
|
||||||
return p.conn.QueryRow(ctx, query,
|
return p.conn.QueryRow(ctx, query,
|
||||||
|
|
Loading…
Reference in a new issue