Skip to content

Commit

Permalink
Update API version
Browse files Browse the repository at this point in the history
  • Loading branch information
remixz committed Mar 31, 2017
1 parent 8748617 commit 129b455
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/QueueItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<small class="gray">Next up: Episode {{data.most_likely_media.episode_number}}</small>
<p>
<small>
Available to watch in {{parseTimeDiff(data.most_likely_media.available_time)}}
Available to watch in {{parsedTime}}
</small>
</p>
</div>
Expand All @@ -43,9 +43,9 @@
export default {
props: ['data'],
methods: {
parseTimeDiff (date) {
return distance(new Date(date))
computed: {
parsedTime () {
return distance(this.data.most_likely_media.available_time)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import axios from 'axios'
export const ACCESS_TOKEN = 'vdsWT3hI0V99etr'
export const DEVICE_TYPE = 'com.crunchyroll.iphone'
export const LOCALE = 'enUS'
export const VERSION = '3004.1'
export const VERSION = '3005.2'
export const UMI_SERVER = process.env.NODE_ENV === 'production' ? 'https://umi-watch-api.now.sh' : 'http://localhost:3001'

export default function api (opts) {
Expand Down

0 comments on commit 129b455

Please sign in to comment.