diff --git a/.env.example b/.env.example
index 51b26b3..66a12cb 100644
--- a/.env.example
+++ b/.env.example
@@ -1,4 +1,4 @@
-
+ENV=LOCAL # for testing
DATABASE_URL=
CONTRACT=devhub.near
ROCKET_DATABASES={devhub_cache_api_rs={url="postgres://devhub_cache_api_rs:password@localhost/devhub_cache_api_rs"}}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6ab1b93..58dfeac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -49,6 +49,7 @@ jobs:
CONTRACT: devhub.near
DATABASE_URL: postgres://devhub_cache_api_rs:password@127.0.0.1:5432/devhub_cache_api_rs
NEARBLOCKS_API_KEY: ${{ secrets.NEARBLOCKS_API_KEY }}
+ ENV: GH_ACTION
- name: Run clippy and audit
run:
diff --git a/src/entrypoints/proposal/mod.rs b/src/entrypoints/proposal/mod.rs
index 7eaad78..34e0cb2 100644
--- a/src/entrypoints/proposal/mod.rs
+++ b/src/entrypoints/proposal/mod.rs
@@ -15,7 +15,6 @@ use rocket::{get, http::Status, State};
use std::convert::TryInto;
pub mod proposal_types;
-// TODO Use caching of search terms
#[utoipa::path(get, path = "/proposals/search?", params(
("input"= &str, Path, description ="The string to search for in proposal name, description, summary, and category fields."),
))]
diff --git a/src/entrypoints/rfp/mod.rs b/src/entrypoints/rfp/mod.rs
index 6a72e07..9e89bf4 100644
--- a/src/entrypoints/rfp/mod.rs
+++ b/src/entrypoints/rfp/mod.rs
@@ -12,7 +12,6 @@ use rocket::{delete, get, http::Status, State};
use std::convert::TryInto;
pub mod rfp_types;
-// TODO Use caching of search terms
#[utoipa::path(get, path = "/rfps/search/", params(
("input"= &str, Path, description ="The string to search for in rfp name, description, summary, and category fields."),
))]
@@ -115,7 +114,6 @@ async fn get_rfps(
#[utoipa::path(get, path = "/rfp/{rfp_id}")]
#[get("/")]
async fn get_rfp(rfp_id: i32, contract: &State) -> Result, Status> {
- // TODO Get cached rfp
match RpcService::new(contract).get_rfp(rfp_id).await {
Ok(rfp) => Ok(Json(rfp.data)),
Err(e) => {