Skip to content

Commit

Permalink
change name of OPENAI_API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmatthis committed Dec 21, 2023
1 parent 72cac3b commit f3588e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class OpenAIConfigService {

async getOpenAIKey() {
const [secret] = await this.sms.getManager().accessSecretVersion({
name: 'projects/588063171007/secrets/OPENAPI_KEY/versions/latest',
name: 'projects/588063171007/secrets/OPENAI_API_KEY/versions/latest',
});
return secret.payload.data.toString();
}
Expand Down

0 comments on commit f3588e9

Please sign in to comment.