Skip to content

Commit 3d814fb

Browse files
committed
lint
1 parent 9328788 commit 3d814fb

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

src/contact-properties/contact-properties.spec.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ describe('ContactProperties', () => {
3737
};
3838

3939
mockSuccessResponse(response, {
40-
headers: { Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' },
40+
headers: {
41+
Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop',
42+
},
4143
});
4244
const resend = new Resend('re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop');
4345
await expect(
@@ -117,7 +119,9 @@ describe('ContactProperties', () => {
117119
has_more: false,
118120
};
119121
mockSuccessResponse(response, {
120-
headers: { Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' },
122+
headers: {
123+
Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop',
124+
},
121125
});
122126
const resend = new Resend('re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop');
123127
await expect(
@@ -167,7 +171,9 @@ describe('ContactProperties', () => {
167171
created_at: '2021-01-01T00:00:00.000Z',
168172
};
169173
mockSuccessResponse(response, {
170-
headers: { Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' },
174+
headers: {
175+
Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop',
176+
},
171177
});
172178
const resend = new Resend('re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop');
173179
await expect(
@@ -256,7 +262,9 @@ describe('ContactProperties', () => {
256262
object: 'contact_property',
257263
};
258264
mockSuccessResponse(response, {
259-
headers: { Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' },
265+
headers: {
266+
Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop',
267+
},
260268
});
261269
const resend = new Resend('re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop');
262270
await expect(
@@ -313,7 +321,9 @@ describe('ContactProperties', () => {
313321
object: 'contact_property',
314322
};
315323
mockSuccessResponse(response, {
316-
headers: { Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop' },
324+
headers: {
325+
Authorization: 'Bearer re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop',
326+
},
317327
});
318328
const resend = new Resend('re_zKa4RCko_Lhm9ost2YjNCctnPjbLw8Nop');
319329
await expect(

src/contact-properties/contact-properties.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import type {
2929
} from './interfaces/update-contact-property-options.interface';
3030

3131
export class ContactProperties {
32-
constructor(private readonly resend: Resend) { }
32+
constructor(private readonly resend: Resend) {}
3333

3434
async create(
3535
options: CreateContactPropertyOptions,

src/contacts/contacts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ export class Contacts {
179179
}
180180

181181
return this.resend.delete<RemoveContactsResponseSuccess>(
182-
`/audiences/${payload.audienceId}/contacts/${payload?.email ? payload?.email : payload?.id
182+
`/audiences/${payload.audienceId}/contacts/${
183+
payload?.email ? payload?.email : payload?.id
183184
}`,
184185
);
185186
}

0 commit comments

Comments
 (0)