Skip to content

Commit 33d31b4

Browse files
authored
Merge pull request #3936 from dpalou/MOBILE-4304
MOBILE-4304 h5p: Fix regression breaking H5P packages deployment
2 parents a21c180 + f7ddc1e commit 33d31b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/features/h5p/classes/framework.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ export class CoreH5PFramework {
844844
}
845845

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

0 commit comments

Comments
 (0)