Laravel 5.8
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user