From f7ddc1efa8b0dbda1070efd150e57fb4a2c0c461 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Tue, 20 Feb 2024 14:23:31 +0100 Subject: [PATCH] MOBILE-4304 h5p: Fix regression breaking H5P packages deployment --- src/core/features/h5p/classes/framework.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/features/h5p/classes/framework.ts b/src/core/features/h5p/classes/framework.ts index 0e488f4a7f7..f895b74bd70 100644 --- a/src/core/features/h5p/classes/framework.ts +++ b/src/core/features/h5p/classes/framework.ts @@ -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'); }