Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Sigma API Recipe",
"type": "node",
"request": "launch",
"name": "Run Server",
"program": "${workspaceFolder}/server/server.js",
"program": "${file}",
"cwd": "${workspaceFolder}/sigma-api-recipes",
"env": {
"DEBUG": "true"
}

]
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**"]
},
{
"name": "Debug Recipe Portal",
"type": "node",
"request": "launch",
"program": "${file}",
"cwd": "${workspaceFolder}/recipe-portal",
"console": "integratedTerminal"
}
]
}
218 changes: 0 additions & 218 deletions recipe-portal/.claude/claude.md

This file was deleted.

7 changes: 2 additions & 5 deletions sigma-api-recipes/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# NOTE: Leave no space after the equal sign for each item.

# AWS
CLIENT_ID=
SECRET=
CLIENT_ID=2f1c31e628db77a90409383f2779ebb37ce3f051f6c682dd335035c81ccee313
SECRET=d397312ac4e4741d57b864658133842e4463edc51bf2df1671d1e584968f7340a3225b09aa90b68beae0a84da85d8b210753bead961fd0788d127b7dcf418d13
authURL=https://aws-api.sigmacomputing.com/v2/auth/token
baseURL=https://aws-api.sigmacomputing.com/v2

Expand All @@ -16,9 +16,6 @@ baseURL=https://aws-api.sigmacomputing.com/v2
#Azure US https://api.us.azure.sigmacomputing.com /v2/auth/token
#GCP https://api.sigmacomputing.com /v2/auth/token

# Common Query Parameters
LIMIT=100

# Use-Case Variables, added as required in QuickStart Recipes:
MEMBERID=
NEW_MEMBER_TYPE=
Expand Down
2 changes: 1 addition & 1 deletion sigma-api-recipes/get-access-token.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Swagger: https://help.sigmacomputing.com/reference/token

// 1: Load environment variables from a specific .env file for configuration
require('dotenv').config({ path: 'sigma-api-recipes/.env' });
require('dotenv').config({ path: '.env' });

// 2: Import Axios for making HTTP requests
const axios = require('axios');
Expand Down
Loading