You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@ -358,7 +358,7 @@ class BaseApplication {
|
||||
}
|
||||
|
||||
generalMiddlewareFn() {
|
||||
const middleware = store => next => action => {
|
||||
const middleware = (store) => (next) => (action) => {
|
||||
return this.generalMiddleware(store, next, action);
|
||||
};
|
||||
|
||||
@ -690,7 +690,7 @@ class BaseApplication {
|
||||
if (!Setting.value('api.token')) {
|
||||
EncryptionService.instance()
|
||||
.randomHexString(64)
|
||||
.then(token => {
|
||||
.then((token) => {
|
||||
Setting.setValue('api.token', token);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user