mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-04 16:13:17 -06:00
update remaining list tests
This commit is contained in:
parent
d277705e6c
commit
77ff30cf1d
4 changed files with 8 additions and 11 deletions
|
|
@ -86,7 +86,7 @@ func (p *Processor) AddToList(ctx context.Context, account *gtsmodel.Account, li
|
|||
|
||||
if follow == nil {
|
||||
text := fmt.Sprintf("account %s not currently followed", targetAccountID)
|
||||
return gtserror.NewErrorUnprocessableEntity(errors.New(text), text)
|
||||
return gtserror.NewErrorNotFound(errors.New(text), text)
|
||||
}
|
||||
|
||||
// Generate new entry for this follow in list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue