TappNetwork/laravel-airtable

Changed for Personal access tokens and doesn't work

Opened this issue · 0 comments

Hello,
I changed for Personal access tokens, after that my app doesn't work. I've tried everyting.
Code:
` public function show() {
$reservations = Airtable::table('zamowienia')->get();

    dd($reservations);
    $data = [
        'category_name' => 'dashboard',
        'page_name' => 'test-app',
        'has_scrollspy' => 0,
        'scrollspy_offset' => '',
        'reservations' => $reservations,
    ];
    // $pageName = 'analytics';
    return view('test-app')->with($data);
}`

Error:
Illuminate\Support\Collection {#1252 ▼ #items: array:1 [▼ "error" => array:2 [▼ "type" => "AUTHENTICATION_REQUIRED" "message" => "Authentication required" ] ] }

Any ideas?