Skip to content

Commit

Permalink
Remove old notifications stub
Browse files Browse the repository at this point in the history
  • Loading branch information
javfg committed May 12, 2023
1 parent 78dfa83 commit 7c7293f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
34 changes: 0 additions & 34 deletions internal/http/services/ocmd/notifications.go

This file was deleted.

3 changes: 0 additions & 3 deletions internal/http/services/ocmd/ocm.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,16 @@ func New(m map[string]interface{}, log *zerolog.Logger) (global.Service, error)

func (s *svc) routerInit() error {
sharesHandler := new(sharesHandler)
notificationsHandler := new(notificationsHandler)
invitesHandler := new(invitesHandler)

if err := sharesHandler.init(s.Conf); err != nil {
return err
}
notificationsHandler.init(s.Conf)
if err := invitesHandler.init(s.Conf); err != nil {
return err
}

s.router.Post("/shares", sharesHandler.CreateShare)
s.router.Post("/notifications", notificationsHandler.SendNotification)
s.router.Post("/invite-accepted", invitesHandler.AcceptInvite)
return nil
}
Expand Down

0 comments on commit 7c7293f

Please sign in to comment.