Skip to content

Commit d6af986

Browse files
authored
[MT-5351] removed password="" from update customer request Alex Razkevich 14 minutes ago (#85)
* Update service.ts * Update service.ts
1 parent 0618b68 commit d6af986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export async function getCustomer(id: string, token: string): Promise<moltin.Cus
135135
export async function updateCustomer(id: string, name: string, email: string, token: string): Promise<{ data: moltin.Customer }> {
136136
const moltin = MoltinGateway({ host: config.endpointURL, client_id: config.clientId });
137137
// @ts-ignore
138-
const result = await moltin.Customers.Update(id, {type: 'customer', name, email, password: '',}, token);
138+
const result = await moltin.Customers.Update(id, {type: 'customer', name, email}, token);
139139

140140
return result;
141141
}

0 commit comments

Comments
 (0)