From 9e78611f3343cda6fa7f82b72b96051d065214ad Mon Sep 17 00:00:00 2001 From: ewezy Date: Mon, 21 Oct 2024 04:17:14 +0800 Subject: [PATCH] Undo unnecessary default db port change --- api/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/config/config.go b/api/config/config.go index 10cd733f7..15dc76784 100644 --- a/api/config/config.go +++ b/api/config/config.go @@ -142,7 +142,7 @@ func (docs *Documentations) Decode(value string) error { type DatabaseConfig struct { Host string `validate:"required"` - Port int `validate:"required" default:"5431"` + Port int `validate:"required" default:"5432"` User string `validate:"required"` Password string `validate:"required"` Database string `validate:"required" default:"mlp"`