refactor: Remove unused methods

This commit is contained in:
AkiraFukushima 2020-11-28 22:55:19 +09:00
parent abb3aa741c
commit 6b03d5a015
1 changed files with 0 additions and 9 deletions

View File

@ -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