Skip to content

Commit

Permalink
remove unused files, comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tguntenaar committed Nov 22, 2024
1 parent c5dc5e6 commit cf7d210
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/entrypoints/addons.rs

This file was deleted.

Empty file removed src/entrypoints/authors.rs
Empty file.
Empty file removed src/entrypoints/categories.rs
Empty file.
13 changes: 13 additions & 0 deletions src/entrypoints/communities.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Store account_id and block_height of post
// Example:
// discussions.webassembly.community.devhub.near 1123124
// announcements.webassembly.community.devhub.near 1123125

// Each account announcements... or discussions.. need to keep track of the last
// block height they posted the indexer is up to date with. in proposals and rfps
// this is shared between the two since it only track the devhub.near contract account.
// This is basically done by the post table.

// Challenge:
// 1. get them up to date with history
// 2. keeping them up to date
Empty file removed src/entrypoints/labels.rs
Empty file.
2 changes: 1 addition & 1 deletion src/entrypoints/rfp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::convert::TryInto;
pub mod rfp_types;

// TODO use caching in search
#[utoipa::path(get, path = "/rfps/search?<input>", params(
#[utoipa::path(get, path = "/rfps/search/<input>", params(
("input"= &str, Path, description ="The string to search for in rfp name, description, summary, and category fields."),
))]
#[get("/search/<input>")]
Expand Down

0 comments on commit cf7d210

Please sign in to comment.