Remove extraneous semicolon
This commit is contained in:
parent
3d62f4d2dc
commit
d738aa91c5
|
@ -122,7 +122,7 @@ export const withRestApi = {
|
||||||
let zoneLocationPayload = [
|
let zoneLocationPayload = [
|
||||||
{
|
{
|
||||||
code: zoneCode,
|
code: zoneCode,
|
||||||
type: zoneType
|
type: zoneType,
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -130,9 +130,9 @@ export const withRestApi = {
|
||||||
if ( zipCode ) {
|
if ( zipCode ) {
|
||||||
zoneLocationPayload.push( {
|
zoneLocationPayload.push( {
|
||||||
code: zipCode,
|
code: zipCode,
|
||||||
type: "postcode"
|
type: "postcode",
|
||||||
} );
|
} );
|
||||||
};
|
}
|
||||||
|
|
||||||
const locationResponse = await client.put( path + `/${zoneId}/locations`, zoneLocationPayload );
|
const locationResponse = await client.put( path + `/${zoneId}/locations`, zoneLocationPayload );
|
||||||
expect(locationResponse.statusCode).toEqual(200);
|
expect(locationResponse.statusCode).toEqual(200);
|
||||||
|
|
Loading…
Reference in New Issue