Skip to content

Commit 121715c

Browse files
committed
chore: clean up and fix tests
1 parent be447b9 commit 121715c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugins/qeta-backend/src/database/DatabaseQetaStore.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ export class DatabaseQetaStore implements QetaStore {
422422
.into('answers')
423423
.returning('id');
424424

425-
console.log(images);
426425
if (images && images.length > 0) {
427426
await this.db('attachments')
428427
.whereIn('id', images)

plugins/qeta-backend/src/service/router.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ describe('createRouter', () => {
207207
'content',
208208
['java'],
209209
['component:default/comp1'],
210+
undefined,
210211
);
211212
expect(response.status).toEqual(201);
212213
expect(response.body).toEqual({
@@ -291,6 +292,7 @@ describe('createRouter', () => {
291292
'user',
292293
1,
293294
'content',
295+
undefined,
294296
);
295297
expect(response.status).toEqual(201);
296298
expect(response.body).toEqual({

0 commit comments

Comments
 (0)