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

@@ -165,7 +165,7 @@ type AddInvoiceResponseBody struct {
// @Security OAuth2Password
func (controller *InvoiceController) AddInvoice(c echo.Context) error {
userID := c.Get("UserID").(int64)
limits := controller.svc.GetLimitsFromContext(c)
limits := controller.svc.GetLimits(c)
var body AddInvoiceRequestBody