MOBILE-4304 h5p: Fix regression breaking H5P packages deployment

This commit is contained in:
Dani Palou 2024-02-20 14:23:31 +01:00
parent 09a2bf3d96
commit f7ddc1efa8

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