fixed irregularities

This commit is contained in:
Fran Jurmanovic
2021-08-02 10:33:02 -07:00
parent 0cddd7797c
commit 9407cb88ab
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import (
"github.com/go-pg/pg/v10"
)
func CreateConnection(dbUrl string, ctx context.Context) *pg.DB {
func CreateConnection(ctx context.Context, dbUrl string) *pg.DB {
opt, err := pg.ParseURL(dbUrl)
common.CheckError(err)
conn := pg.Connect(opt)