~emersion/soju

ce19f76673b5bfd369766f6696e042b0a8df7691 — Simon Ser 10 months ago 02844ca v0.5.1
database/postgres: fix inverted networkID check in ListWebPushSubscriptions

Same as 02844ca9df10 ("database/postgres: fix inverted networkID
check in StoreWebPushSubscription").
1 files changed, 1 insertions(+), 1 deletions(-)

M database/postgres.go
M database/postgres.go => database/postgres.go +1 -1
@@ 733,7 733,7 @@ func (db *PostgresDB) ListWebPushSubscriptions(ctx context.Context, userID, netw

	nullNetworkID := sql.NullInt64{
		Int64: networkID,
		Valid: networkID == 0,
		Valid: networkID != 0,
	}

	rows, err := db.db.QueryContext(ctx, `