fix: add clicked count on ads
This commit is contained in:
@@ -2,6 +2,6 @@ package adssvc
|
||||
|
||||
import adsdomain "legalgo-BE-go/internal/domain/ads"
|
||||
|
||||
func (i *impl) GetAll() ([]adsdomain.Ads, error) {
|
||||
func (i *impl) GetAll() ([]adsdomain.AdsResponse, error) {
|
||||
return i.adsRepo.GetAll()
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ type impl struct {
|
||||
|
||||
type Ads interface {
|
||||
Create(adsdomain.AdsReq) error
|
||||
GetAll() ([]adsdomain.Ads, error)
|
||||
GetAll() ([]adsdomain.AdsResponse, error)
|
||||
Update(string, adsdomain.AdsReq) error
|
||||
Delete(string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user