Skip to content

Commit c7ec69d

Browse files
authored
Update daemon/algod/api/server/router.go
1 parent 69d6ba9 commit c7ec69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/algod/api/server/router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func NewRouter(logger logging.Logger, node APINodeInterface, shutdown <-chan str
8888
middleware.BodyLimit(MaxRequestBodyBytes),
8989
}
9090
if apiToken == "" {
91-
logger.Warn("Running with with public API authentication disabled")
91+
logger.Warn("Running with public API authentication disabled")
9292
} else {
9393
if err := tokens.ValidateAPIToken(apiToken); err != nil {
9494
logger.Errorf("Invalid apiToken was passed to NewRouter ('%s'): %v", apiToken, err)

0 commit comments

Comments
 (0)