mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-03-18 21:30:44 +01:00
Refine
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user