Skip to content

Commit

Permalink
fix: delete cert sort
Browse files Browse the repository at this point in the history
  • Loading branch information
pupilcc committed Sep 27, 2024
1 parent d4fa059 commit 08dcd3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions domain/service/cert_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,17 @@ func DeleteCert(code string) error {
return err
}

err = acme.Remove(byCode.Domain)
err = repo.Delete(code)
if err != nil {
return err
}

err = deleteFiles(code)
err = acme.Remove(byCode.Domain)
if err != nil {
return err
}

err = repo.Delete(code)
err = deleteFiles(code)
if err != nil {
return err
}
Expand Down

0 comments on commit 08dcd3a

Please sign in to comment.