Remove a couple spurious console statements I left in yesterday

This commit is contained in:
R. Tyler Croy 2018-10-21 09:15:28 -07:00
parent 863322492b
commit 9f451c1994
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 0 additions and 2 deletions

View File

@ -16,7 +16,6 @@ const typesHooks : HooksObject = {
export class TypesService {
async find(params : Params) : Promise<any> {
return db.sequelize.query('SELECT DISTINCT(type) FROM events', { type: db.sequelize.QueryTypes.SELECT }).then((types) => {
console.log('lol', types);
if (types.length > 0) {
return types.map(t => t.type);
}

View File

@ -6,7 +6,6 @@ describe('Unit tests for /types', () => {
it('should return an Array', async () => {
const result = await service.find();
console.log(result);
expect(result.length).toBeGreaterThan(0);
});
});