chore: refactor

This commit is contained in:
im-adithya
2023-12-07 14:29:18 +05:30
parent e681e69fa2
commit d3208f2bb1
25 changed files with 41 additions and 77 deletions

View File

@@ -46,7 +46,7 @@ type KeySendResponseBody struct {
func (controller *KeySendController) KeySend(c echo.Context) error {
userID := c.Get("UserID").(int64)
limits := controller.svc.GetLimitsFromContext(c)
limits := controller.svc.GetLimits(c)
reqBody := KeySendRequestBody{}
if err := c.Bind(&reqBody); err != nil {
c.Logger().Errorf("Failed to load keysend request body: %v", err)