Skip to content

Commit feb9e18

Browse files
authored
Merge pull request #343 from scientist-softserv/342-unable-to-create-requests
342 unable to create requests
2 parents 2609de2 + 421b935 commit feb9e18

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

cypress/fixtures/one-request/files.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"email": "[email protected]",
1717
"title": "Frontend Dev",
1818
"company": "",
19-
"site": "{\"name\"=>\"Cell Based Assays\", \"billing_same_as_shipping\"=>true}",
2019
"image": "https://avatars.scientist.com/avatars/0d93b3808f701fc3dbde5002a80c2475/S C/xs?time=1677774999"
2120
}
2221
}
2322
]
24-
}
23+
}

cypress/fixtures/one-request/messages.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"email": "[email protected]",
1717
"title": "Master tester",
1818
"company": "",
19-
"site": "Asia",
2019
"image": "https://avatars.scientist.com/avatars/20c7e703deca8fcabb2df42096142740/S T/xs?time=1677774999"
2120
},
2221
"proposal_ref": {
@@ -67,9 +66,8 @@
6766
"email": "[email protected]",
6867
"title": "Frontend Dev",
6968
"company": "",
70-
"site": "{\"name\"=>\"Cell Based Assays\", \"billing_same_as_shipping\"=>true}",
7169
"image": "https://avatars.scientist.com/avatars/0d93b3808f701fc3dbde5002a80c2475/S C/xs?time=1677774999"
7270
}
7371
}
7472
]
75-
}
73+
}

utils/api/requests.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,6 @@ const requestData = ({request, shipping, billing}) => {
181181
/* eslint-disable camelcase */
182182
provider_ids: [process.env.NEXT_PUBLIC_PROVIDER_ID],
183183
proposed_deadline_str: request.proposedDeadline,
184-
site: {
185-
billing_same_as_shipping: request.billingSameAsShipping,
186-
name: process.env.NEXT_PUBLIC_PROVIDER_NAME,
187-
},
188184
shipping_address_attributes: {
189185
city: shipping.city,
190186
country: shipping.country,

0 commit comments

Comments
 (0)