Skip to content

Commit

Permalink
Fix lambda integration returning just newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
bebbi committed Aug 10, 2017
1 parent 889b640 commit 6f6a628
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ class Offline {
// BAD IMPLEMENTATION: first key in responseTemplates
const responseTemplate = responseTemplates[responseContentType];

if (responseTemplate) {
if (responseTemplate && responseTemplate !== '\n') {

debugLog('_____ RESPONSE TEMPLATE PROCCESSING _____');
debugLog(`Using responseTemplate '${responseContentType}'`);
Expand Down
1 change: 0 additions & 1 deletion src/offline-default.res.vm
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

0 comments on commit 6f6a628

Please sign in to comment.