lint: prettier

master
kunkka 4 years ago
parent fc8e479306
commit 4afb8d450a

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

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

Loading…
Cancel
Save