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 9b7418c commit 1a11f52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/scripts/runEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ envFile="$SCRIPT_DIR/../.env.${deployment}"
[ -f "$envFile.public" ] && . $envFile.public
[ -f "$envFile" ] && . $envFile

$SCRIPT_DIR/generateBuildInfo.sh
"$SCRIPT_DIR/generateBuildInfo.sh"

eval "$commands"
2 changes: 1 addition & 1 deletion web/src/hooks/queries/useUserSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const useUserSettings = () => {
queryFn: async () => {
try {
if (!authToken) return;
const res = await fetch(`/.netlify/functions/fetch-settings`, {
const res = await fetch("/.netlify/functions/fetch-settings", {
method: "POST",
headers: {
"x-auth-token": authToken,
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/authoriseUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type AuthoriseUserData = {

export function authoriseUser(authData: AuthoriseUserData): Promise<Response> {
return toast.promise<Response, Error>(
fetch(`/.netlify/functions/authUser`, {
fetch('/.netlify/functions/authUser', {
method: "POST",
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit 1a11f52

Please sign in to comment.