mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
upgraded migrations and context usage
This commit is contained in:
@@ -28,7 +28,7 @@ func (wc *WalletsHeaderController) Get(c *gin.Context) {
|
||||
auth := c.MustGet("auth")
|
||||
body.Id = auth.(*models.Auth).Id
|
||||
|
||||
wm := wc.WalletService.GetHeader(body, walletId)
|
||||
wm := wc.WalletService.GetHeader(c, body, walletId)
|
||||
|
||||
c.JSON(200, wm)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user