[standard] fix violations
This commit is contained in:
@@ -27,7 +27,7 @@ module Adamantium
|
|||||||
end
|
end
|
||||||
|
|
||||||
if track
|
if track
|
||||||
mb_id = track["mbid"] == {} ? "unknown" : track["mbid"]
|
mb_id = (track["mbid"] == {}) ? "unknown" : track["mbid"]
|
||||||
top_track_repo.upsert(post_id: post.id, name: track["name"], artist: track.dig("artist", "content"), url: track["url"], mb_id: mb_id)
|
top_track_repo.upsert(post_id: post.id, name: track["name"], artist: track.dig("artist", "content"), url: track["url"], mb_id: mb_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user