mirror of
https://github.com/holidayapi/holidayapi-perl6.git
synced 2025-06-21 04:36:32 +00:00
tabs to spaces for proper format
This commit is contained in:
parent
b7d4f9fa05
commit
046455e0f2
1 changed files with 2 additions and 2 deletions
|
@ -32,11 +32,11 @@ my $query = "key={$HOLAPI-KEY}{$options}&country={$country}&year={$year}";
|
||||||
my $api-uri = "{$data-location}?{$query}";
|
my $api-uri = "{$data-location}?{$query}";
|
||||||
my $response = $ua.get($api-uri);
|
my $response = $ua.get($api-uri);
|
||||||
if $response.is-success {
|
if $response.is-success {
|
||||||
say "Working year '$year'...";
|
say "Working year '$year'...";
|
||||||
spurt $json-data, $response.content;
|
spurt $json-data, $response.content;
|
||||||
say "See JSON data file '$json-data'.";
|
say "See JSON data file '$json-data'.";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die $response.status-line;
|
die $response.status-line;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue