wip
This commit is contained in:
1 parent
d53db60a20
commit
424c3f22d1
8 files changed
+7
-25
No files matched your search
@@ -63,7 +63,7 @@ public function handle(): void
|
||||
*/
|
||||
public function localeAppTranslationsDirectory(): string
|
||||
{
|
||||
return $this->localeAppPath . DIRECTORY_SEPARATOR . 'lang';
|
||||
return $this->localeAppPath.DIRECTORY_SEPARATOR.'lang';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -82,8 +82,8 @@ public function exportTranslations(): self
|
||||
public function syncTranslationsWithLocaleApp(): self
|
||||
{
|
||||
$response = Http::acceptJson()->withHeaders([
|
||||
'Api-Token' => $this->localeAppApiToken,
|
||||
])
|
||||
'Api-Token' => $this->localeAppApiToken,
|
||||
])
|
||||
->retry(
|
||||
times: 3,
|
||||
sleepMilliseconds: 50,
|
||||
@@ -92,7 +92,7 @@ public function syncTranslationsWithLocaleApp(): self
|
||||
return true;
|
||||
})
|
||||
->post(
|
||||
url: $this->localeAppUrl . '/api/import-translations',
|
||||
url: $this->localeAppUrl.'/api/import-translations',
|
||||
data: []
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user