Skip to content

Commit

Permalink
Merge pull request #68 from rtucker-mozilla/master
Browse files Browse the repository at this point in the history
Attempting to switch search and the api from Public to Authenticated
  • Loading branch information
rtucker-mozilla authored May 18, 2021
2 parents de47ac1 + 9a3971f commit 7dfa53f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/graphql_api/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async fn graphiql() -> Result<HttpResponse, ApiError> {
.body(html))
}

#[guard(Public)]
#[guard(Authenticated)]
async fn graphql<T: AsyncCisClientTrait + Send + Sync>(
req: actix_web::HttpRequest,
payload: actix_web::web::Payload,
Expand Down
2 changes: 1 addition & 1 deletion src/search/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct SearchQuery {
a: Option<String>,
}

#[guard(Public)]
#[guard(Authenticated)]
async fn handle_simple(
client: Data<Client>,
search: Data<Search>,
Expand Down

0 comments on commit 7dfa53f

Please sign in to comment.