Skip to content

Commit 8ab4ee5

Browse files
committed
debugging+
1 parent 8e6d593 commit 8ab4ee5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package middlewareTypes
22

33
type MessageAlias struct {
4-
Alias string
5-
Score int
4+
Alias string `koanf:"alias"`
5+
Score int `koanf:"score"`
66
}

utils/config/token-config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package config
33
import (
44
"strconv"
55

6+
"github.com/codeshelldev/secured-signal-api/utils"
67
log "github.com/codeshelldev/secured-signal-api/utils/logger"
78
"github.com/knadh/koanf/parsers/yaml"
89
)
@@ -16,6 +17,8 @@ func LoadTokens() {
1617
log.Debug("Loading Configs ", ENV.TOKENS_DIR)
1718

1819
LoadDir("tokenConfigs", ENV.TOKENS_DIR, tokensLayer, yaml.Parser())
20+
21+
log.Dev(utils.ToJson(tokensLayer.All()))
1922
}
2023

2124
func InitTokens() {

0 commit comments

Comments
 (0)