update license
This commit is contained in:
@@ -49,8 +49,8 @@ func (r *LicenseRepository) FindByID(ctx context.Context, id string) (*entity.Li
|
||||
return license, nil
|
||||
}
|
||||
|
||||
func (r *LicenseRepository) GetAll(ctx context.Context, limit, offset int, statusFilter string) ([]*entity.License, int64, error) {
|
||||
var licenses []*entity.License
|
||||
func (r *LicenseRepository) GetAll(ctx context.Context, limit, offset int, statusFilter string) ([]*entity.LicenseGetAll, int64, error) {
|
||||
var licenses []*entity.LicenseGetAll
|
||||
var total int64
|
||||
|
||||
// Define the main query with status calculation
|
||||
|
||||
Reference in New Issue
Block a user