mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
add test file
This commit is contained in:
@ -49,6 +49,11 @@ async function getPersonByEmail(email){
|
||||
.first();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Person by Id
|
||||
* @param {*} id - The id to look the person for
|
||||
* @returns
|
||||
*/
|
||||
async function getPersonById(id){
|
||||
return await knex('Person')
|
||||
.select('*')
|
||||
|
Reference in New Issue
Block a user