update license
This commit is contained in:
@@ -61,7 +61,7 @@ func (s *LicenseService) GetByID(ctx context.Context, id string) (*entity.Licens
|
||||
return licenseDB.ToLicense(), nil
|
||||
}
|
||||
|
||||
func (s *LicenseService) GetAll(ctx context.Context, limit, offset int, status string) ([]*entity.License, int64, error) {
|
||||
func (s *LicenseService) GetAll(ctx context.Context, limit, offset int, status string) ([]*entity.LicenseGetAll, int64, error) {
|
||||
licenses, total, err := s.repo.GetAll(ctx, limit, offset, status)
|
||||
if err != nil {
|
||||
logger.ContextLogger(ctx).Error("error when getting all licenses", zap.Error(err))
|
||||
|
||||
Reference in New Issue
Block a user