We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f643f0 + 5d9f352 commit 481dfd0Copy full SHA for 481dfd0
src/source/jobs/handlers.clj
@@ -3,7 +3,8 @@
3
[source.util :as util]
4
[source.services.incoming-posts :as incoming-posts]
5
[source.db.util :as db.util]
6
- [clojure.set :as set]))
+ [clojure.set :as set]
7
+ [clojure.string :as string]))
8
9
(defmulti handler
10
(fn [opts]
@@ -38,7 +39,8 @@
38
39
:creator-id creator-id
40
:content-type-id content-type-id
41
:thumbnail (if (and thumbnail
- (seq thumbnail))
42
+ (seq thumbnail)
43
+ (not (string/includes? thumbnail ".mp3")))
44
thumbnail
45
extracted-display)}))
46
extracted-posts)
0 commit comments