fix: remove auth in ads log
This commit is contained in:
@@ -2,8 +2,8 @@ package logssvc
|
||||
|
||||
import "fmt"
|
||||
|
||||
func (i *impl) CreateLogAds(adsID, userID string) error {
|
||||
if err := i.logsRepo.CreateLogAds(adsID, userID); err != nil {
|
||||
func (i *impl) CreateLogAds(adsID string) error {
|
||||
if err := i.logsRepo.CreateLogAds(adsID); err != nil {
|
||||
return fmt.Errorf("failed to create ads log: %v", err)
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ type impl struct {
|
||||
}
|
||||
|
||||
type Log interface {
|
||||
CreateLogAds(adsID, userID string) error
|
||||
CreateLogAds(string) error
|
||||
GetAllLogAds(string) ([]adsdomain.Ads, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user