refactor: move Wasm related code to pkg/common/wasm

This commit is contained in:
Prad Nukala
2024-12-11 12:26:48 -05:00
parent d667c3c604
commit 23f077ce75
4 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/internal/vault/context"
"github.com/onsonr/sonr/internal/vault/types"
"github.com/onsonr/sonr/pkg/config/motr"
)
// RegisterRoutes registers the Decentralized Web Node API routes.
func RegisterRoutes(e *echo.Echo, config *types.Config) {
func RegisterRoutes(e *echo.Echo, config *motr.Config) {
e.Use(context.Middleware(config))
}