mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
14 lines
325 B
JavaScript
14 lines
325 B
JavaScript
import SessionModel from '@/services/SessionModel';
|
|
|
|
export default class SessionQueryBuilder extends SessionModel.QueryBuilder {
|
|
/**
|
|
* Add a custom method that stores a session object to the query context.
|
|
* @param {*} session -
|
|
*/
|
|
session(session) {
|
|
return this.mergeContext({
|
|
session,
|
|
});
|
|
}
|
|
}
|