diff --git a/backend/index.ts b/backend/index.ts index 0274e26..3d8e11e 100644 --- a/backend/index.ts +++ b/backend/index.ts @@ -69,7 +69,7 @@ ipcMain.on("addUser", async (event, data: any) => { .then((data: Model) => { event.returnValue = { error: false, - data: data, + data: data.dataValues, }; }) .catch((error) => { diff --git a/package-lock.json b/package-lock.json index e7b539c..990f71e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sc-next-electron", - "version": "7.0.2", + "version": "8.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sc-next-electron", - "version": "7.0.2", + "version": "8.0.0", "hasInstallScript": true, "license": "MIT", "dependencies": {