diff --git a/backend/src/middleware/handleHtmlContent/handleContentData.js b/backend/src/middleware/handleHtmlContent/handleContentData.js
index 5fb2ae5cc..350be75f4 100644
--- a/backend/src/middleware/handleHtmlContent/handleContentData.js
+++ b/backend/src/middleware/handleHtmlContent/handleContentData.js
@@ -14,7 +14,7 @@ const notify = async (postId, idsOfMentionedUsers, context) => {
await session.run(cypher, {
idsOfMentionedUsers,
createdAt,
- postId
+ postId,
})
session.close()
}
@@ -32,7 +32,7 @@ const updateHashtagsOfPost = async (postId, hashtags, context) => {
`
await session.run(cypher, {
postId,
- hashtags
+ hashtags,
})
session.close()
}
@@ -61,4 +61,4 @@ export default {
CreatePost: handleContentData,
UpdatePost: handleContentData,
},
-}
\ No newline at end of file
+}
diff --git a/backend/src/middleware/handleHtmlContent/hashtags/extractHashtags.js b/backend/src/middleware/handleHtmlContent/hashtags/extractHashtags.js
index 194179b16..9c0078e7a 100644
--- a/backend/src/middleware/handleHtmlContent/hashtags/extractHashtags.js
+++ b/backend/src/middleware/handleHtmlContent/hashtags/extractHashtags.js
@@ -1,7 +1,7 @@
import cheerio from 'cheerio'
const ID_REGEX = /\/search\/hashtag\/([\w\-.!~*'"(),]+)/g
-export default function (content) {
+export default function(content) {
if (!content) return []
const $ = cheerio.load(content)
const urls = $('.hashtag')
@@ -18,4 +18,4 @@ export default function (content) {
}
})
return hashtags
-}
\ No newline at end of file
+}
diff --git a/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.js b/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.js
index 52016146f..3ada7e6a9 100644
--- a/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.js
+++ b/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.js
@@ -1,7 +1,7 @@
import cheerio from 'cheerio'
const ID_REGEX = /\/profile\/([\w\-.!~*'"(),]+)/g
-export default function (content) {
+export default function(content) {
if (!content) return []
const $ = cheerio.load(content)
const urls = $('.mention')
@@ -18,4 +18,4 @@ export default function (content) {
}
})
return ids
-}
\ No newline at end of file
+}
diff --git a/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.spec.js b/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.spec.js
index 03de4f1bb..4983ad72b 100644
--- a/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.spec.js
+++ b/backend/src/middleware/handleHtmlContent/notifications/extractMentionedUsers.spec.js
@@ -56,4 +56,4 @@ describe('extractIds', () => {
})
})
})
-})
\ No newline at end of file
+})
diff --git a/backend/src/middleware/index.js b/backend/src/middleware/index.js
index 46470115f..8b3e2e1cb 100644
--- a/backend/src/middleware/index.js
+++ b/backend/src/middleware/index.js
@@ -57,4 +57,4 @@ export default schema => {
}
return order.map(key => middlewares[key])
-}
\ No newline at end of file
+}