Merge pull request #3936 from dpalou/MOBILE-4304
MOBILE-4304 h5p: Fix regression breaking H5P packages deployment
This commit is contained in:
commit
33d31b46b4
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user