Skip to content

Commit

Permalink
fix: links to cat-core (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 authored Feb 9, 2024
1 parent 81df945 commit f65effd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion catalyst-gateway/bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cargo build -p cat-gateway

Before running `cat-gateway` you will need to spin up event-db.
How to do it, you can read this [README.md](
https://github.com/input-output-hk/catalyst-core/blob/main/src/event-db/Readme.md#starting-a-local-test-db-with-docker
https://github.com/input-output-hk/catalyst-voices/blob/main/catalyst-gateway/event-db/Readme.md#starting-a-local-test-db-with-docker
).
To run with the specific jorm mock state cleanup timeout you can specify `JORM_CLEANUP_TIMEOUT` env var.

Expand Down
2 changes: 1 addition & 1 deletion catalyst-gateway/bin/src/service/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn get_api_license() -> LicenseObject {

/// Get the terms of service for the API
const TERMS_OF_SERVICE: &str =
"https://github.com/input-output-hk/catalyst-core/blob/main/book/src/98_CODE_OF_CONDUCT.md";
"https://github.com/input-output-hk/catalyst-voices/blob/main/CODE_OF_CONDUCT.md";

/// Create the `OpenAPI` definition
pub(crate) fn mk_api(
Expand Down
8 changes: 4 additions & 4 deletions catalyst-gateway/bin/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const ADDRESS_DEFAULT: &str = "0.0.0.0:3030";
const GITHUB_REPO_OWNER_DEFAULT: &str = "input-output-hk";

/// Default Github repo name
const GITHUB_REPO_NAME_DEFAULT: &str = "catalyst-core";
const GITHUB_REPO_NAME_DEFAULT: &str = "catalyst-voices";

/// Default Github issue template to use
const GITHUB_ISSUE_TEMPLATE_DEFAULT: &str = "bug_report.md";
const GITHUB_ISSUE_TEMPLATE_DEFAULT: &str = "bug_report.yml";

/// Default `CLIENT_ID_KEY` used in development.
const CLIENT_ID_KEY_DEFAULT: &str = "3db5301e-40f2-47ed-ab11-55b37674631a";
Expand Down Expand Up @@ -242,7 +242,7 @@ pub(crate) fn get_api_host_names(addr: &SocketAddr) -> Vec<String> {
/// # use cat_data_service::settings::generate_github_issue_url;
/// assert_eq!(
/// generate_github_issue_url("Hello, World! How are you?"),
/// "https://github.com/input-output-hk/catalyst-core/issues/new?template=bug_report.md&title=Hello%2C%20World%21%20How%20are%20you%3F"
/// "https://github.com/input-output-hk/catalyst-voices/issues/new?template=bug_report.yml&title=Hello%2C%20World%21%20How%20are%20you%3F"
/// );
/// ```
pub(crate) fn generate_github_issue_url(title: &str) -> Option<Url> {
Expand Down Expand Up @@ -278,7 +278,7 @@ mod tests {
let title = "Hello, World! How are you?";
assert_eq!(
generate_github_issue_url(title).expect("Failed to generate url").as_str(),
"https://github.com/input-output-hk/catalyst-core/issues/new?template=bug_report.md&title=Hello%2C+World%21+How+are+you%3F"
"https://github.com/input-output-hk/catalyst-voices/issues/new?template=bug_report.yml&title=Hello%2C+World%21+How+are+you%3F"
);
}

Expand Down

0 comments on commit f65effd

Please sign in to comment.