Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module2 task1 #5

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

Phoenix8483
Copy link
Contributor

No description provided.

Copy link

Ваш пулреквест опубликован. Посмотреть можно здесь

github-actions bot pushed a commit that referenced this pull request Sep 16, 2024

const mockOffers = [
{
'type': getRandomArrayElement(TYPE),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По моему тут в поле тип должен быть конкретный уникальный тип, а в случае применения функции helper он может дублироваться

'dateTo': '2024-11-04T08:28:08.370Z',
'destination': getRandomArrayElement(CITIES),
'isFavorite': false,
'offers': [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже касается и поля offers

@DenisLopatin DenisLopatin merged commit 536e048 into htmlacademy-ecmascript:master Sep 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants