fix(backend.domain): lab2 delete isMember in chat repo
This commit is contained in:
@@ -12,7 +12,6 @@ type ChatRepository interface {
|
|||||||
Create(ctx context.Context, chat *Chat) error
|
Create(ctx context.Context, chat *Chat) error
|
||||||
GetByID(ctx context.Context, id string) (*Chat, error)
|
GetByID(ctx context.Context, id string) (*Chat, error)
|
||||||
ListByMember(ctx context.Context, userID string, limit int, cursor *string) ([]Chat, *string, error)
|
ListByMember(ctx context.Context, userID string, limit int, cursor *string) ([]Chat, *string, error)
|
||||||
IsMember(ctx context.Context, chatID, userID string) (bool, error)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type MessageRepository interface {
|
type MessageRepository interface {
|
||||||
|
|||||||
Reference in New Issue
Block a user