Skip to content

Commit

Permalink
fix signature mismatch due to trimmed LTI parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachughes committed Sep 18, 2024
1 parent ec4d8a8 commit 7d18eef
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
use App\ContentVersion;
use App\H5POption;
use App\Http\Middleware\RequestId;
use App\Http\Middleware\TrimStrings;
use App\Libraries\ContentAuthorStorage;
use App\Libraries\H5P\Helper\H5POptionsCache;
use App\Listeners\ResourceEventHandler;
use App\Observers\ContentVersionsObserver;
use App\Observers\H5POptionObserver;
use Cerpus\EdlibResourceKit\Oauth1\Credentials;
use Cerpus\EdlibResourceKit\Oauth1\CredentialStoreInterface;
use Illuminate\Http\Request;
use Illuminate\Log\Logger;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\Log;
Expand All @@ -32,6 +34,8 @@ public function boot()

H5POption::observe(H5POptionObserver::class);
ContentVersion::observe(ContentVersionsObserver::class);

TrimStrings::skipWhen(fn (Request $request) => $request->has('lti_message_type'));
}

/**
Expand Down

0 comments on commit 7d18eef

Please sign in to comment.