3 namespace App\Http\Controllers;
5 use App\Models\AosSeed;
6 use Illuminate\Http\Request;
8 class AosSeedController extends Controller
11 public function byHash($hash) {
12 $seed = AosSeed::where('hash', '=', $hash)->firstOrFail();
18 $seed->hide('settings');
21 return $seed->toJson();