This commit is contained in:
binwiederhier
2026-03-11 11:58:40 -04:00
parent f1865749d7
commit ab33ac7ae5
8 changed files with 107 additions and 55 deletions

View File

@@ -74,7 +74,7 @@ const (
// NewPostgresStore creates a new PostgreSQL-backed web push store using an existing database connection pool.
func NewPostgresStore(d *ntfydb.DB) (*Store, error) {
if err := setupPostgres(d.SetupPrimary()); err != nil {
if err := setupPostgres(d.Primary()); err != nil {
return nil, err
}
return &Store{