Skip to content

Commit f7ddc1e

Browse files
committed
MOBILE-4304 h5p: Fix regression breaking H5P packages deployment
1 parent 09a2bf3 commit f7ddc1e

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)