Restore minute-based schedule
This commit is contained in:
parent
a6c94ac7ca
commit
7de9feea58
2 changed files with 3 additions and 4 deletions
|
|
@ -44,6 +44,7 @@ func (nm *Manager) AddService(userID int, service Service) {
|
|||
}
|
||||
|
||||
func (nm *Manager) Send(userID int, uuid string, msg []byte) (err error) {
|
||||
|
||||
services, found := nm.services[userID]
|
||||
if !found {
|
||||
return werr.New("No notification services defined for user ID %d", userID).WithCode("002-0008")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue