schedule/collective files move to server

This commit is contained in:
tmshv committed 2019-10-14 17:47:02 +03:00
1 parent c1d8ab3b97
commit 1f2b61cc29
6 files changed
+31 -33

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
import {c} from '../core/db';
export async function getCollective(query={}) {
return await c('collective')
.find(query)
.toArray();
}
/**
* Find a person by it's id
*
* @param id
* @returns {Promise|*}
*/
export async function getPerson(id){
return await c('collective').findOne({id: id});
}