~emersion/soju

02844ca9df1098333ec53efd3bbad22ec6f5955f — Simon Ser 2 months ago 8849669
database/postgres: fix inverted networkID check in StoreWebPushSubscription

Presented without comment.
1 files changed, 1 insertions(+), 1 deletions(-)

M database/postgres.go
M database/postgres.go => database/postgres.go +1 -1
@@ 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