diff --git a/internal/store/mock/store.go b/internal/store/mock/store.go index df469e8..cad38b8 100644 --- a/internal/store/mock/store.go +++ b/internal/store/mock/store.go @@ -37,7 +37,7 @@ func (m *MockMessageStore) CreateMessage(ctx context.Context, msg *message.Messa } var id uuid.UUID - if msg.Id != nil && msg.Id == uuid.Nil { + if msg.Id != nil && *msg.Id == uuid.Nil { id = uuid.New() msg.Id = &id }