diff --git a/database/postgres.go b/database/postgres.go index 6e2a6d7..3473bae 100644 --- a/database/postgres.go +++ b/database/postgres.go @@ -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