database/postgres: fix inverted networkID check in StoreWebPushSubscription
Presented without comment.
This commit is contained in:
parent
8849669d61
commit
02844ca9df
@ -763,7 +763,7 @@ func (db *PostgresDB) StoreWebPushSubscription(ctx context.Context, userID, netw
|
||||
|
||||
nullNetworkID := sql.NullInt64{
|
||||
Int64: networkID,
|
||||
Valid: networkID == 0,
|
||||
Valid: networkID != 0,
|
||||
}
|
||||
|
||||
var err error
|
||||
|
Loading…
Reference in New Issue
Block a user