mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
15 lines
285 B
JavaScript
15 lines
285 B
JavaScript
import { BaseService } from 'lib/base-service.js';
|
|
|
|
class SessionService extends BaseService {
|
|
|
|
login(email, password, clientId) {
|
|
return this.api_.post('sessions', null, {
|
|
'email': email,
|
|
'password': password,
|
|
'client_id': clientId,
|
|
});
|
|
}
|
|
|
|
}
|
|
|
|
export { SessionService }; |