Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Jun 8, 2017
1 parent c50cf64 commit ec5f73e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/gulp/tasks/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,7 @@ async function getLastPayloadResults(database: admin.database.Database) {
// first value of the object will be returned because the SHA is unnecessary.
const results = snapshot.val();

console.log(results);

return results.length ? results[Object.keys(results)[0]] : null;
}

0 comments on commit ec5f73e

Please sign in to comment.