Skip to content

Commit

Permalink
Merge pull request #74 from foomo/sesamy-go-0.9.1
Browse files Browse the repository at this point in the history
fix: request body check
  • Loading branch information
franklinkim authored Dec 11, 2024
2 parents ce0258f + aa27edb commit f991dc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/tagmanager/server/template/jsonrequestvaluedata.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ const logToConsole = require('logToConsole');
const getRequestBody = require('getRequestBody');
const requestBody = getRequestBody();
if (requestBody === '') {
return null;
}
const payload = JSON.parse(requestBody);
const value = payload[data.key] || null;
Expand Down

0 comments on commit f991dc2

Please sign in to comment.