(c *fiber.Ctx)
| 53 | } |
| 54 | |
| 55 | func (controller *appControllerImpl) GetAppById(c *fiber.Ctx) error { |
| 56 | id := c.Params("id") |
| 57 | app, err := controller.appService.GetAppById(context.Background(), id) |
| 58 | if err != nil { |
| 59 | logger.L.Error("In GetAppById: Error getting app", zap.Error(err)) |
| 60 | return utils.ErrorResponse(c, err.Error()) |
| 61 | } |
| 62 | return utils.SuccessResponse(c, app) |
| 63 | } |
nothing calls this directly
no test coverage detected