File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub struct APIConnector {}
1515#[ async_trait]
1616impl APIOperations for APIConnector {
1717 async fn fetch_plugins ( ) -> Result < HashMap < String , BasePlugin > , APIError > {
18- match reqwest:: get ( "https://young-hamlet-23901 .herokuapp.com/plugins" ) . await {
18+ match reqwest:: get ( "https://lembas-backend .herokuapp.com/plugins" ) . await {
1919 Ok ( response) => match response. json :: < HashMap < String , BasePlugin > > ( ) . await {
2020 Ok ( plugins) => Ok ( plugins) ,
2121 Err ( _) => Err ( APIError :: FetchError ) ,
@@ -26,7 +26,7 @@ impl APIOperations for APIConnector {
2626
2727 fn fetch_details ( title : & str ) -> DetailsPlugin {
2828 let response = reqwest:: blocking:: get ( format ! (
29- "https://young-hamlet-23901 .herokuapp.com/plugins/{}" ,
29+ "https://lembas-backend .herokuapp.com/plugins/{}" ,
3030 title. to_lowercase( )
3131 ) )
3232 . expect ( "Failed to connect with API" )
You can’t perform that action at this time.
0 commit comments