rename context to service

This commit is contained in:
kiwiidb
2022-01-19 13:53:40 +01:00
parent 9b1fd8255c
commit e22ab6ce49
8 changed files with 8 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ type AuthController struct {
// Auth : Auth Controller
func (ctrl AuthController) Auth(c echo.Context) error {
ctx := c.(*lib.LndhubContext)
ctx := c.(*lib.LndhubService)
type RequestBody struct {
Login string `json:"login"`
Password string `json:"password"`