Merge pull request #3936 from dpalou/MOBILE-4304

MOBILE-4304 h5p: Fix regression breaking H5P packages deployment
main
Noel De Martin 2024-02-21 11:46:38 +01:00 committed by GitHub
commit 33d31b46b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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');
}