Skip to content

Commit

Permalink
Remove hard coded parameters pvtechchoice and mountingplace
Browse files Browse the repository at this point in the history
  • Loading branch information
drmax-lukasholeczy committed Mar 24, 2022
1 parent 3520ec9 commit 8124bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/UrlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class UrlBuilder
public function __construct(Request $request)
{
$this->request = $request;
$this->url = 'https://re.jrc.ec.europa.eu/api/pvcalc?peakpower=1&pvtechchoice=crystSi&mountingplace=building&loss=10&outputformat=json';
$this->url = 'https://re.jrc.ec.europa.eu/api/pvcalc?peakpower=1&loss=10&outputformat=json';
}

public function build(): string
Expand Down

0 comments on commit 8124bed

Please sign in to comment.