Skip to content

Commit

Permalink
Update db.hr.go
Browse files Browse the repository at this point in the history
  • Loading branch information
AshNewar authored Feb 10, 2024
1 parent 2650295 commit a50669b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion company/db.hr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a50669b

Please sign in to comment.