diff --git a/company/db.hr.go b/company/db.hr.go index d098ef2..bdb7739 100644 --- a/company/db.hr.go +++ b/company/db.hr.go @@ -3,7 +3,7 @@ package company import "github.com/gin-gonic/gin" func getAllHRUserDB(ctx *gin.Context, HRs *[]CompanyHR) error { - tx := db.WithContext(ctx).Select("ID", "CreatedAt", "UpdatedAt", "DeletedAt", "Name", "Email", "Phone").Find(HRs) + tx := db.WithContext(ctx).Select("ID","CreatedAt","UpdatedAt","DeletedAt","Name","Email","Phone").Find(HRs) return tx.Error }