mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed console.logs
This commit is contained in:
parent
4779521c56
commit
a526ec14e9
@ -57,6 +57,14 @@ export default class Helper {
|
||||
return tmpTags;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates Platform data object.
|
||||
* @param general: Platform general information.
|
||||
* @param config: Platform configurations.
|
||||
* @param properties: Platform properties.
|
||||
*
|
||||
* @return {{platform: *, icon}} data object and the icon image.
|
||||
* */
|
||||
static buildPlatform(general, config, properties) {
|
||||
let platform = Object.assign({}, general, config, properties);
|
||||
|
||||
@ -65,8 +73,6 @@ export default class Helper {
|
||||
|
||||
platform.tags = Helper.stringifyTags(platform.tags);
|
||||
|
||||
console.log(platform, icon);
|
||||
|
||||
let tempData = {
|
||||
"platform": platform,
|
||||
"icon": icon
|
||||
|
||||
@ -28,9 +28,9 @@ import Helper from './helpers/appMgtApiHelpers';
|
||||
export default class PlatformMgtApi{
|
||||
/**
|
||||
* Create a new Platform
|
||||
* @param general: The platform data object.
|
||||
* @param config: The platform data object.
|
||||
* @param prop: The platform data object.
|
||||
* @param general: Platform general information.
|
||||
* @param config: Platform configurations.
|
||||
* @param prop: Platform properties.
|
||||
* */
|
||||
static createPlatform(general, config, prop) {
|
||||
const headers = AuthHandler.createAuthenticationHeaders("multipart/form-data");
|
||||
@ -40,8 +40,6 @@ export default class PlatformMgtApi{
|
||||
platformData.append("platform", platform.platform);
|
||||
platformData.append("icon", platform.icon);
|
||||
|
||||
console.log(platformData);
|
||||
|
||||
return Axios.post(Constants.platformManagerEndpoints.CREATE_PLATFORM, platformData, {headers: headers});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user