Skip to content

Commit 0a8d73c

Browse files
authored
Merge pull request #5 from kipr/navzam/remove-excess-logging
Remove excess logging
2 parents f909c8a + f6a2dc3 commit 0a8d73c

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

cli/fetch.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ interface Args {
99
}
1010

1111
export default async (args: Args) => {
12-
console.log('adasdasd');
13-
console.log(args);
1412
const res = await axios({
1513
method: 'get',
1614
url: `${args.url}/v1/big_store/${args.asset}`,

src/big-store.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export default (app: FastifyInstance, db: Db) => {
5050
});
5151

5252
const contentType = request.headers['content-type'];
53-
console.log ('content-type', contentType);
5453

5554
writeStream.on('error', (err) => {
5655
console.error(err);

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ app.get('/:collection', async (request, reply) => {
8686

8787
const createPostPatchHandler = (isPatch: boolean) => async (request: FastifyRequest, reply: FastifyReply) => {
8888
const token = await authenticate(request);
89-
console.log('token', token);
9089

9190
if (!token) return unauthorized(reply);
9291

@@ -120,8 +119,6 @@ const createPostPatchHandler = (isPatch: boolean) => async (request: FastifyRequ
120119

121120
const res = await db.set({ selector: { collection, id }, value, userId: token.sub, partialUpdate: isPatch });
122121

123-
console.log(res);
124-
125122
if (res.type === 'error') {
126123
reply.code(res.code).send({ message: res.message });
127124
return;

0 commit comments

Comments
 (0)