Skip to content

Commit d9c4c1a

Browse files
authored
Add lang to IPApi
1 parent b37f8e4 commit d9c4c1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Services/IPApi.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function boot()
3636
],
3737
'query' => [
3838
'fields' => 49663,
39+
'lang' => $this->config('lang', ['en']),
3940
],
4041
];
4142

@@ -139,4 +140,4 @@ private function getContinent($code)
139140
{
140141
return Arr::get($this->continents, $code, 'Unknown');
141142
}
142-
}
143+
}

0 commit comments

Comments
 (0)