Skip to content

best way to save what you love

api/tiktok: return empty error if there's nothing to download

wukko2ac0436f717d
diff --git a/api/src/processing/services/tiktok.js b/api/src/processing/services/tiktok.js
index 3f5ea1fc..1e1605e0 100644
--- a/api/src/processing/services/tiktok.js
+++ b/api/src/processing/services/tiktok.js
@@ -168,4 +168,6 @@ export default async function(obj) {
headers: { cookie }
}
}
+
+ return { error: "fetch.empty" };
}