mirror of
https://github.com/sune-org/sune.git
synced 2026-04-07 07:52:13 +00:00
Refactor: Remove GCP storage item
This commit is contained in:
@@ -33,9 +33,5 @@ export const USER = {
|
||||
get titleModel() { return localStorage.getItem('title_model') ?? 'or:amazon/nova-micro-v1'; },
|
||||
set titleModel(v) { localStorage.setItem('title_model', v || ''); },
|
||||
get githubToken() { return localStorage.getItem('gh_token') || ''; },
|
||||
set githubToken(v) { localStorage.setItem('gh_token', v || ''); },
|
||||
get gcpSA() {
|
||||
try { return JSON.parse(localStorage.getItem('gcp_sa_json') || 'null'); } catch { return null; }
|
||||
},
|
||||
set gcpSA(v) { localStorage.setItem('gcp_sa_json', v ? JSON.stringify(v) : ''); }
|
||||
set githubToken(v) { localStorage.setItem('gh_token', v || ''); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user