Audit of 2bfa624
This commit is contained in:
@@ -231,7 +231,7 @@ func (m *Manager) cancelQuestion(ctx context.Context, l *live, raw json.RawMessa
|
||||
|
||||
err = m.store.WithdrawItem(ctx, item.Id)
|
||||
if errors.Is(err, store.ErrNotOpen) {
|
||||
return "", fmt.Errorf("question %s is already %s; nothing was cancelled", item.Id, item.State)
|
||||
return "", fmt.Errorf("question %s is already %s; nothing was canceled", item.Id, item.State)
|
||||
}
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user