chore: update method name

This commit is contained in:
Steven
2023-10-27 08:36:43 +08:00
parent 4ea78fa1a2
commit 67d2e4ebcb
6 changed files with 8 additions and 8 deletions

View File

@@ -44,8 +44,8 @@ func (s *Store) CreateInbox(ctx context.Context, create *Inbox) (*Inbox, error)
return s.driver.CreateInbox(ctx, create)
}
func (s *Store) ListInboxes(ctx context.Context, find *FindInbox) ([]*Inbox, error) {
return s.driver.ListInboxes(ctx, find)
func (s *Store) ListInbox(ctx context.Context, find *FindInbox) ([]*Inbox, error) {
return s.driver.ListInbox(ctx, find)
}
func (s *Store) UpdateInbox(ctx context.Context, update *UpdateInbox) (*Inbox, error) {