Skip to content

Commit

Permalink
Removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Oct 8, 2024
1 parent eaab784 commit cd46e11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/http-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,9 @@ export class HttpApi {

function readReplyHandler(res, reply: RecordsReadReply): any {
if (reply.status.code === 200) {
if (reply?.entry.data) {
if (reply?.entry?.data) {
const stream = reply.entry.data;

console.log(reply.entry.recordsWrite.descriptor.dataFormat);
res.setHeader('content-type', reply.entry.recordsWrite.descriptor.dataFormat);
res.setHeader('dwn-response', JSON.stringify(reply));

Expand Down

0 comments on commit cd46e11

Please sign in to comment.