Skip to content

Commit

Permalink
Change premium field
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostzero committed Mar 2, 2023
1 parent 961be44 commit 3ac8430
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron/rerun-manager/settings-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as fs from 'fs'
import {Credentials, Settings} from "../../shared/schema";

const defaults: Settings = {
version: '1.0.0',
version: '1.0.1',
credentials: null,
endpoint: 'https://api.rerunmanager.com/v1/',
}
Expand Down
1 change: 1 addition & 0 deletions shared/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface User {
id: string
name: string
avatar_url: string
premium: boolean
config: {
storage_limit: number
videos_limit: number
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const storageUpgradeRequired = computed(() => {
if (!settings.value) return false
if (!settings.value.credentials) return false
// @ts-ignore
return !settings.value.credentials.user.config.premium
return !settings.value.credentials.user.premium
})
onMounted(() => {
Expand Down

0 comments on commit 3ac8430

Please sign in to comment.