Skip to content

Commit ca591f4

Browse files
committed
two ESLint edits
1 parent 4345414 commit ca591f4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/api/customer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const buyBook = ({ id, stripeToken }) =>
1717
body: JSON.stringify({ id, stripeToken }),
1818
});
1919

20-
export const addBookmark = data =>
20+
export const addBookmark = (data) =>
2121
sendRequest(`${BASE_PATH}/chapters/add-bookmark`, {
2222
body: JSON.stringify(data),
2323
});

server/models/EmailTemplate.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ async function insertTemplates() {
6464
const count = await EmailTemplate.find({ name: t.name }).countDocuments();
6565

6666
if (count === 0) {
67-
EmailTemplate.create(Object.assign({}, t, {
67+
EmailTemplate.create(
68+
Object.assign({}, t, {
6869
message: t.message.replace(/\n/g, '').replace(/[ ]+/g, ' '),
6970
}),
7071
);

0 commit comments

Comments
 (0)