Skip to content

Commit

Permalink
move secret to github secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharonfish committed Apr 30, 2024
1 parent a70104b commit 81aea90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/problem-layout/ProblemCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class ProblemCard extends React.Component {
this.setHintFinishCallback
);
this.key = this.decode(OPENAI_KEY);
this.chat.setApiKey(this.key);
this.chat.setApiKey(process.env.REACT_APP_OPENAI_KEY);
}

// keystroke logging functionalities
Expand Down

0 comments on commit 81aea90

Please sign in to comment.