refactor: Remove unused methods
This commit is contained in:
parent
abb3aa741c
commit
6b03d5a015
|
@ -426,15 +426,6 @@ ipcMain.handle('get-access-token', async (_: IpcMainInvokeEvent, request: TokenR
|
|||
})
|
||||
})
|
||||
|
||||
// environments
|
||||
ipcMain.on('get-social-token', (event: IpcMainEvent) => {
|
||||
const token = process.env.SOCIAL_TOKEN
|
||||
if (isEmpty(token)) {
|
||||
return event.sender.send('error-get-social-token', new EmptyTokenError())
|
||||
}
|
||||
event.sender.send('response-get-social-token', token)
|
||||
})
|
||||
|
||||
// nedb
|
||||
ipcMain.on('list-accounts', (event: IpcMainEvent) => {
|
||||
accountManager
|
||||
|
|
Loading…
Reference in New Issue