Skip to content

Commit f4fe9d4

Browse files
authored
fix (#9)
1 parent 74f8837 commit f4fe9d4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/client/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,13 @@ export class Twilio<
108108
},
109109
);
110110

111-
return new Response(null, { status: 200 });
111+
const emptyResponseTwiML = `
112+
<?xml version="1.0" encoding="UTF-8"?>
113+
<Response></Response>`;
114+
115+
return new Response(emptyResponseTwiML, { status: 200, headers: {
116+
'Content-Type': 'application/xml',
117+
} });
112118
}),
113119
});
114120
}

0 commit comments

Comments
 (0)