update remaining list tests

This commit is contained in:
kim 2024-09-13 21:44:08 +01:00
commit 77ff30cf1d
4 changed files with 8 additions and 11 deletions

View file

@ -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.