Skip to content

Commit

Permalink
feat: change checkRefundNum notify
Browse files Browse the repository at this point in the history
  • Loading branch information
sjatsh committed Oct 22, 2023
1 parent fc97ea3 commit c1edc79
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions timer/refund_num.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package timer
import (
"fmt"
"time"
"unipay/config"
"unipay/notify"
)

Expand Down Expand Up @@ -37,7 +36,6 @@ func (t *ToolTimer) checkRefundNum() error {
}
log.Info("checkRefundNum:", countRefund)
msg := fmt.Sprintf("> count: %d", countRefund)
notify.SendLarkTextNotify(config.Cfg.Notify.LarkErrorKey, "UnRefunded Txs", msg)

notify.SendLarkErrNotify("UnRefunded Txs", msg)
return nil
}

0 comments on commit c1edc79

Please sign in to comment.