lint: prettier

master
kunkka 4 years ago
parent fc8e479306
commit 4afb8d450a

@ -1,7 +1,7 @@
import { updateMediaSessionMetaData } from "@/utils/mediaSession";
import { getTrackDetail, scrobble, getMP3 } from "@/api/track";
import { isLoggedIn } from "@/utils/auth";
import { updateHttps } from "@/utils/common"
import { updateHttps } from "@/utils/common";
export default {
switchTrack({ state, dispatch, commit }, basicTrack) {

@ -72,6 +72,6 @@ export function throttle(fn, time) {
}
export function updateHttps(url) {
if (!url) return ''
if (!url) return "";
return url.replace(/^http:/, "https:");
}
}

Loading…
Cancel
Save