"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/lib/services/rest/Api.ts" between
joplin-2.1.8.tar.gz and joplin-2.1.9.tar.gz

About: Joplin is a cross-platform note taking and to-do application with synchronisation capabilities.

Api.ts  (joplin-2.1.8):Api.ts  (joplin-2.1.9)
skipping to change at line 135 skipping to change at line 135
value: true, value: true,
}); });
return; return;
} }
return this.dispatch_(action); return this.dispatch_(action);
} }
public acceptAuthToken(accept: boolean) { public acceptAuthToken(accept: boolean) {
if (!this.authToken_) throw new Error('Auth token is not set');
this.authToken_.status = accept ? AuthTokenStatus.Accepted : Auth TokenStatus.Rejected; this.authToken_.status = accept ? AuthTokenStatus.Accepted : Auth TokenStatus.Rejected;
this.dispatch_({ this.dispatch_({
type: 'API_NEED_AUTH_SET', type: 'API_NEED_AUTH_SET',
value: false, value: false,
}); });
} }
private parsePath(path: string) { private parsePath(path: string) {
path = ltrimSlashes(path); path = ltrimSlashes(path);
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)