Remove extraneous semicolon

This commit is contained in:
Greg 2021-08-17 12:49:09 -06:00
parent 3d62f4d2dc
commit d738aa91c5
1 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ export const withRestApi = {
let zoneLocationPayload = [
{
code: zoneCode,
type: zoneType
type: zoneType,
}
];
@ -130,9 +130,9 @@ export const withRestApi = {
if ( zipCode ) {
zoneLocationPayload.push( {
code: zipCode,
type: "postcode"
type: "postcode",
} );
};
}
const locationResponse = await client.put( path + `/${zoneId}/locations`, zoneLocationPayload );
expect(locationResponse.statusCode).toEqual(200);