Skip to content

Commit

Permalink
Merge pull request #3936 from dpalou/MOBILE-4304
Browse files Browse the repository at this point in the history
MOBILE-4304 h5p: Fix regression breaking H5P packages deployment
  • Loading branch information
NoelDeMartin authored Feb 21, 2024
2 parents a21c180 + f7ddc1e commit 33d31b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/features/h5p/classes/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ export class CoreH5PFramework {
}

// Create the relation.
if (typeof library.libraryId !== 'string') {
if (typeof library.libraryId !== 'number') {
throw new CoreError('Attempted to create dependencies of library without id');
}

Expand Down

0 comments on commit 33d31b4

Please sign in to comment.