Skip to content

Commit 9cb59b6

Browse files
committed
disable request and response validation for zod responses
1 parent ce1ba44 commit 9cb59b6

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solidtime",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"description": "Desktop App for solidtime - the modern open-source time tracker",
55
"main": "./out/main/index.js",
66
"author": "solidtime.io",

src/main/autoUpdater.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export function registerAutoUpdateListeners(mainWindow: Electron.BrowserWindow)
2929
})
3030

3131
getAutoUpdater().addListener('update-downloaded', () => {
32-
app.emit('before-quit');
33-
setTimeout(() => {
34-
getAutoUpdater().quitAndInstall()
35-
}, 500);
32+
app.emit('before-quit')
33+
setTimeout(() => {
34+
getAutoUpdater().quitAndInstall()
35+
}, 500)
3636
})
3737

3838
getAutoUpdater().addListener('error', (error) => {

src/renderer/src/utils/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { accessToken, endpoint } from './oauth'
44

55
export const apiClient = computed(() => {
66
return createApiClient(endpoint.value + '/api', {
7+
validate: 'none',
78
axiosConfig: {
89
headers: {
910
Authorization: `Bearer ${accessToken.value}`,

0 commit comments

Comments
 (0)