diff options
Diffstat (limited to 'registry')
-rw-r--r-- | registry/registry.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/registry/registry.go b/registry/registry.go index 451704e..16ae828 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -40,19 +40,6 @@ func (r *Registry) Actor(name string) (map[string]interface{}, error) { return views.RenderActor(handler.handlerCfg.Name, r.cfg.Domain) } -func (r *Registry) Outbox(name string) (map[string]interface{}, error) { - handler := r.findByName(name) - if handler == nil { - return nil, nil - } - aso := models.NewOutboxItem(handler.handlerCfg) - totalItems, err := r.persister.Count(aso) - if err != nil { - return nil, err - } - return views.RenderOutbox(handler.handlerCfg.Name, r.cfg.Domain, totalItems) -} - func (r *Registry) OutboxCollection(name string) (map[string]interface{}, error) { handler := r.findByName(name) if handler == nil { |