MOBILE-4304 h5p: Fix regression breaking H5P packages deployment

main
Dani Palou 2024-02-20 14:23:31 +01:00
parent 09a2bf3d96
commit f7ddc1efa8
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}