async uploadCourseContent(
		instanceUrl,
		orgUnitId
	) {
		const whoAmI = await this._valence.whoAmI(instanceUrl);
		console.log(`Running in user context: '${whoAmI.UniqueName}'`);

		const orgUnit = await this._valence.getOrgUnit(instanceUrl, orgUnitId);
		console.log(`Found course offering: '${orgUnit.Name}' with id: '${orgUnit.Identifier}'`);

		const manifest = await this._getManifest();

		const results = [];
		// Order matters on creates, so not using .map()
		for (const module of manifest.modules) {
			// eslint-disable-next-line no-await-in-loop
			const result = await this._processor.processModule(instanceUrl, orgUnit, module);
			results.push(...result);
		}

		return results;
	}
/**
	 * Uploads course content to a Brightspace LMS
	 * @param {string} instanceUrl
	 * @param {number} orgUnitId
	 */
Uploads course content to a Brightspace LMS
@param {string} instanceUrl
@param {number} orgUnitId
Uploads course content to a Brightspace LMS @param { string } instanceUrl @param { number } orgUnitId
async uploadCourseContent(
		instanceUrl,
		orgUnitId
	) {
		const whoAmI = await this._valence.whoAmI(instanceUrl);
		console.log(`Running in user context: '${whoAmI.UniqueName}'`);
		const orgUnit = await this._valence.getOrgUnit(instanceUrl, orgUnitId);
		console.log(`Found course offering: '${orgUnit.Name}' with id: '${orgUnit.Identifier}'`);
		const manifest = await this._getManifest();
		const results = [];
		for (const module of manifest.modules) {
			const result = await this._processor.processModule(instanceUrl, orgUnit, module);
			results.push(...result);
		}
		return results;
	}
async uploadCourseContent ( instanceUrl , orgUnitId ) { const whoAmI = await this . _valence . whoAmI ( instanceUrl ) ; console . log ( ` ${ whoAmI . UniqueName } ` ) ; const orgUnit = await this . _valence . getOrgUnit ( instanceUrl , orgUnitId ) ; console . log ( ` ${ orgUnit . Name } ${ orgUnit . Identifier } ` ) ; const manifest = await this . _getManifest ( ) ; const results = [ ] ; for ( const module of manifest . modules ) { const result = await this . _processor . processModule ( instanceUrl , orgUnit , module ) ; results . push ( ... result ) ; } return results ; }
Uploads course content to a Brightspace LMS
 @param {string} instanceUrl
 @param {number} orgUnitId
Uploads course content to a Brightspace LMS @param { string } instanceUrl @param { number } orgUnitId
// Order matters on creates, so not using .map() // eslint-disable-next-line no-await-in-loop