chore: made getBoilerplate return a promise

This commit is contained in:
Gabriel Grubba
2023-01-11 18:19:06 -03:00
parent 94adfe159f
commit 40e525eef8

View File

@@ -326,7 +326,7 @@ WebAppInternals.registerBoilerplateDataCallback = function(key, callback) {
// scripts are currently allowed.
// XXX so far this function is always called with arch === 'web.browser'
function getBoilerplate(request, arch) {
return getBoilerplateAsync(request, arch).await();
return getBoilerplateAsync(request, arch);
}
/**