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

@@ -36,7 +36,7 @@ func (d *DB) CreateInbox(ctx context.Context, create *store.Inbox) (*store.Inbox
return create, nil
}
func (d *DB) ListInboxes(ctx context.Context, find *store.FindInbox) ([]*store.Inbox, error) {
func (d *DB) ListInbox(ctx context.Context, find *store.FindInbox) ([]*store.Inbox, error) {
where, args := []string{"1 = 1"}, []any{}
if find.ID != nil {