Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 6385657

Browse files
🧪 update server.js
1 parent ff3fb01 commit 6385657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ const api = (ipcMain, win) => {
5050
});
5151

5252
app.post('/request-auth', (req, res) => {
53-
const { id, platform } = req.body;
54-
ipcMain.callRenderer(win, 'auth:request-auth', { id, platform });
53+
const { id, platform, auth } = req.body;
54+
ipcMain.callRenderer(win, 'auth:request-auth', { id, platform, auth: auth || [] });
5555
res.send('request sent!');
5656
});
5757

0 commit comments

Comments
 (0)