Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
jaybuidl and coderabbitai[bot] authored May 30, 2024
1 parent 1a11f52 commit f8a1c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/netlify/middleware/authMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const authMiddleware = () => {
if (!authToken) {
return {
statusCode: 400,
body: JSON.stringify({ message: `Error : Missing x-auth-token in Header}` }),
body: JSON.stringify({ message: "Error : Missing x-auth-token in Header" }),
};
}

Expand Down
2 changes: 1 addition & 1 deletion web/scripts/generateBuildInfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

jq -n --arg primeUri "$DEPLOY_PRIME_URL" --arg uri "$URL" --arg deployUri "$DEPLOY_URL" '{ netlifyDeployPrimeUri: $primeUri, netlifyUri: $uri, netlifyDeployUri: $deployUri }' > src/generatedNetlifyInfo.json
node $SCRIPT_DIR/gitInfo.js
node "$SCRIPT_DIR/gitInfo.js"

0 comments on commit f8a1c89

Please sign in to comment.