mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-23 05:33:07 +05:30
Ameba: Fix Lint/RedundantStringCoercion
This commit is contained in:
parent
f66068976e
commit
d1cd790388
@ -109,7 +109,7 @@ module Invidious::JSONify::APIv1
|
|||||||
# On livestreams, it's not present, so always fall back to the
|
# On livestreams, it's not present, so always fall back to the
|
||||||
# current unix timestamp (up to mS precision) for compatibility.
|
# current unix timestamp (up to mS precision) for compatibility.
|
||||||
last_modified = fmt["lastModified"]?
|
last_modified = fmt["lastModified"]?
|
||||||
last_modified ||= "#{Time.utc.to_unix_ms.to_s}000"
|
last_modified ||= "#{Time.utc.to_unix_ms}000"
|
||||||
json.field "lmt", last_modified
|
json.field "lmt", last_modified
|
||||||
|
|
||||||
json.field "projectionType", fmt["projectionType"]
|
json.field "projectionType", fmt["projectionType"]
|
||||||
|
Loading…
Reference in New Issue
Block a user