check for empty link removed
This commit is contained in:
parent
e09a3f1d55
commit
ff44577015
1 changed files with 0 additions and 4 deletions
|
|
@ -76,10 +76,6 @@ func (s *service) updateMerch(payload UpdateMerchDTO, userUuid string) error {
|
|||
return errors.New("no origin provided")
|
||||
}
|
||||
|
||||
if payload.Link == "" {
|
||||
return errors.New("no link provided")
|
||||
}
|
||||
|
||||
return s.repo.updateMerch(payload, userUuid)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue