forked from jsnbuchanan/crowd-funder-for-time-pwa
fix SQL references to bad "key" -> "id"
This commit is contained in:
@@ -74,7 +74,7 @@ export default class UserNameDialog extends Vue {
|
||||
async onClickSaveChanges() {
|
||||
const platformService = PlatformServiceFactory.getInstance();
|
||||
await platformService.dbExec(
|
||||
"UPDATE settings SET firstName = ? WHERE key = ?",
|
||||
"UPDATE settings SET firstName = ? WHERE id = ?",
|
||||
[this.givenName, MASTER_SETTINGS_KEY],
|
||||
);
|
||||
if (USE_DEXIE_DB) {
|
||||
|
||||
Reference in New Issue
Block a user