feat(backend): working avatar uploading

This commit is contained in:
Sam 2022-09-20 13:02:48 +02:00
parent b48fc74042
commit 5679dbb657
5 changed files with 52 additions and 2 deletions

View file

@ -25,7 +25,7 @@ type Server struct {
}
func New() (*Server, error) {
db, err := db.New(os.Getenv("DATABASE_URL"))
db, err := db.New()
if err != nil {
return nil, err
}