api: fix typo in error message

This commit is contained in:
Drew DeVault 2021-05-17 08:26:14 -04:00
parent 618cede77e
commit 9d7cb6fba8
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ func (r *mutationResolver) Cancel(ctx context.Context, jobID int) (*model.Job, e
if err := row.Scan(append(
database.Scan(ctx, job), &runner)...); err != nil {
if err == sql.ErrNoRows {
return fmt.Errorf("Found no running jobs for your acocunt with this ID")
return fmt.Errorf("Found no running jobs for your account with this ID")
}
return err
}