Remove extraneous data from API response; force API to en (#1241)

* Remove extraneous data from API response; force API to en

* Style fixes

* Remove

* Fix the meta block

* Style fixes
This commit is contained in:
Nabeel S
2021-06-09 11:20:25 -04:00
committed by GitHub
parent dead1cfd0f
commit 7481dab012
6 changed files with 103 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ class ApiAuth implements Middleware
return $user;
});
// Force english locale for API
app()->setLocale('en');
return $next($request);
}