mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-22 14:25:45 +00:00
feat(BE-281): adjustment sso redirect,adjustment response closing,adjustment uniformity
This commit is contained in:
@@ -36,6 +36,10 @@ func (u *UniformityController) GetAll(c *fiber.Ctx) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
documents, err := u.UniformityService.MapDocuments(c, result)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return c.Status(fiber.StatusOK).
|
||||
JSON(response.SuccessWithPaginate[dto.UniformityListDTO]{
|
||||
@@ -53,7 +57,7 @@ func (u *UniformityController) GetAll(c *fiber.Ctx) error {
|
||||
"status": "Pengajuan",
|
||||
},
|
||||
},
|
||||
Data: dto.ToUniformityListDTOsWithStandard(result, standards),
|
||||
Data: dto.ToUniformityListDTOsWithStandard(result, standards, documents),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user