Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
Use correct name for Gestis (#1353)
Browse files Browse the repository at this point in the history
closes #1325

Co-authored-by: crapStone <crapstone01@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1353
Reviewed-by: Epsilon_02 <epsilon_02@noreply.codeberg.org>
  • Loading branch information
crapStone and crapStone committed May 13, 2022
1 parent 24d5dbc commit bfedb85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/search/src/gestis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ use crate::{

pub use self::error::GestisError;

const NAME: &str = "Gestis";
const NAME: &str = "GESTIS-Stoffdatenbank";
const IDENTIFIER: &str = "gestis";
const BASE_URL: &str = "https://gestis-api.dguv.de/api";
const SEARCH_SUGGESTIONS: &str = "search_suggestions";
const SEARCH: &str = "search";
Expand Down Expand Up @@ -150,7 +151,7 @@ impl Provider for Gestis {
p_phrases: Data::new(data.p_phrases),
symbols: Data::new(data.symbols),
source: Source {
provider: self.get_name().to_lowercase(),
provider: IDENTIFIER.to_string(),
url,
last_updated: chrono::Utc::now(),
},
Expand Down

0 comments on commit bfedb85

Please sign in to comment.