Laravel 5.8

This commit is contained in:
Tyler
2020-12-21 02:21:20 -05:00
parent 390a06b195
commit 3449022d54
3 changed files with 577 additions and 338 deletions

View File

@ -12,7 +12,7 @@ class LookupController {
throw new HttpException(400);
}
return Cache::remember('isbn_' . $isbn, 1440, function() use ($isbn) {
return Cache::remember('isbn_' . $isbn, 86400, function() use ($isbn) {
$google_books = new GoogleBooks();
return $google_books->lookup($isbn);