diff --git a/packages/tests/src/api/server/services.ts b/packages/tests/src/api/server/services.ts
index 349d29a58..cd6cb7d7c 100644
--- a/packages/tests/src/api/server/services.ts
+++ b/packages/tests/src/api/server/services.ts
@@ -74,7 +74,7 @@ describe('Test services', function () {
const oembedUrl = server.url + basePath + video.uuid + suffix.input
const res = await server.services.getOEmbed({ oembedUrl })
- const expectedHtml = ''
@@ -98,7 +98,7 @@ describe('Test services', function () {
const oembedUrl = server.url + basePath + playlistUUID + suffix.input
const res = await server.services.getOEmbed({ oembedUrl })
- const expectedHtml = ''
@@ -122,7 +122,7 @@ describe('Test services', function () {
const maxWidth = 50
const res = await server.services.getOEmbed({ oembedUrl, format, maxHeight, maxWidth })
- const expectedHtml = ''
diff --git a/server/core/controllers/services.ts b/server/core/controllers/services.ts
index b59f0f337..e4dd297a5 100644
--- a/server/core/controllers/services.ts
+++ b/server/core/controllers/services.ts
@@ -134,7 +134,7 @@ function buildOEmbed (options: {
thumbnailUrl = undefined
}
- const html = ``
const json: any = {