Skip to content

Commit

Permalink
Update Src/VTEXFeedV3Config.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
gitauto-ai[bot] authored Nov 7, 2024
1 parent 30dd954 commit b3246a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/VTEXFeedV3Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ namespace VTEXIntegration
public static class VTEXFeedV3Config
{
// Replace with your actual VTEX API key
public const string ApiKey = "YOUR_API_KEY";
public static string ApiKey => Environment.GetEnvironmentVariable("VTEX_API_KEY") ?? throw new ArgumentNullException("VTEX_API_KEY");

// Replace with your actual VTEX API token
public const string ApiToken = "YOUR_API_TOKEN";
public static string ApiToken => Environment.GetEnvironmentVariable("VTEX_API_TOKEN") ?? throw new ArgumentNullException("VTEX_API_TOKEN");

// VTEX account name
public const string AccountName = "your-account";
Expand Down

0 comments on commit b3246a1

Please sign in to comment.