Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Krrupa committed Nov 19, 2023
2 parents 696c10a + e94e776 commit 570410f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
JWT_SECRET_KEY=""
DB_SERVICE_URL=""
DB_SERVICE_TOKEN=""

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pip install pre-commit
pre-commit install
```

- Copy `.env.example` to `.env` and set all the environment variables as mentioned in `docs/ENV.md`.
- Copy `.env.example` to `.env` and set all the environment variables as mentioned in [`docs/ENV.md`](docs/ENV.md).

## Running locally

Expand Down
2 changes: 1 addition & 1 deletion app/router/session_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_group_for_session(session_id: str):
print(data)
group_type_response = requests.get(
group_type_db_url,
params={"type": "group", "child_id": data[0]["group_type_id"]},
params={"id": data[0]["group_type_id"]},
headers=db_request_token(),
)
if group_type_response.status_code == 200:
Expand Down
4 changes: 4 additions & 0 deletions docs/ENV.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ This is a string of random characters that will be used to encrypt the access an
### `DB_SERVICE_URL`

The URL to connect to our database service

### `DB_SERVICE_TOKEN`

Token to authenticate DB service

0 comments on commit 570410f

Please sign in to comment.