feat: fix doc-db-port

This commit is contained in:
王性驊 2024-12-26 14:18:16 +08:00
parent abe6e95193
commit 24e302990a
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func NewDocumentDB(config *Conf, opts ...mon.Option) (DocumentDBUseCase, error)
connectionStringTemplate, connectionStringTemplate,
config.Schema, config.Schema,
authenticationURI, authenticationURI,
config.Host, fmt.Sprintf("%s:%s", config.Host, config.Port),
) )
connectUri, _ := url.Parse(connectionURI) connectUri, _ := url.Parse(connectionURI)