Skip to content

Commit e9841bd

Browse files
authored
Merge pull request #373 from BookingSync/core-5981-fix-nested-hash-translated-attributes-documentation-mistakes
[CORE-5981] Fix nested-hash translated attributes documentation mistakes
2 parents 20a8ea9 + 6f37a1d commit e9841bd

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

api_calls/reference/bathrooms/create-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"bathrooms": [
33
{
4-
"name": "bathroom",
4+
"name_en": "bathroom",
55
"bath_count": 1,
66
"shower_count": 0,
77
"wc_count": 2

api_calls/reference/bathrooms/update-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"bathrooms": [
33
{
4-
"name": "bathroom",
4+
"name_en": "bathroom",
55
"bath_count": 1,
66
"shower_count": 0,
77
"wc_count": 2

api_calls/reference/bedrooms/update-request.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"bedrooms": [
33
{
4-
"name": {
5-
"en": "bedroom"
6-
},
4+
"name_en": "bedroom",
75
"bunk_beds_count": 0,
86
"double_beds_count": 1,
97
"kingsize_beds_count": 0,

api_calls/reference/special_offers/create-request.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"special_offers": [
33
{
4-
"name":{
5-
"en":"Special offer for 1"
6-
},
4+
"name_en": "Special offer for 1",
75
"start_date": "START_DATE",
86
"end_date": "END_DATE",
97
"discount": 10

api_calls/reference/special_offers/update-request.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"special_offers": [
33
{
4-
"name":{
5-
"en":"Special offer for 1"
6-
},
4+
"name_en": "Special offer for 1",
75
"start_date": "START_DATE",
86
"end_date": "END_DATE",
97
"discount": 10

0 commit comments

Comments
 (0)