Skip to content
Snippets Groups Projects
Commit b8711671 authored by Michal Ondrejička's avatar Michal Ondrejička
Browse files

Fix merge bugs

parent 4e91b1b7
No related branches found
No related tags found
No related merge requests found
using Flurl;
using SDK.Models;
using SDK.Models;
using System;
using System.Threading.Tasks;
......
using Flurl;

using SDK.Contracts.Data;
using SDK.Models;
using System.Threading.Tasks;
......@@ -36,17 +36,15 @@ namespace SDK
return await response.Content.ReadAsByteArrayAsync();
}
public async Task<string> GetUnityLastVersion(string platform)
public async Task<string> GetUnityLastVersion(string platform) {
string subUrl = Address.UrlCombine(Address.UtilsUnityLastVersion, platform);
string subUrl = Address.UtilsUnityLastVersion + platform;
var response = await GetRequest<string>(subUrl);
return response;
}
public async Task<FileInfoContract> GetUnityBundleInfo(string bundleName)
public async Task<FileInfoContract> GetUnityBundleInfo(string bundleName) {
string subUrl = Address.UrlCombine(Address.UtilsUnityBundleInfo, bundleName);
string subUrl = Address.UtilsUnityBundleInfo + bundleName;
var response = await GetRequest<FileInfoContract>(subUrl);
return response;
......
......@@ -196,6 +196,7 @@ namespace Main
DataType = "Int32",
Unit = "unit"
};
var sensorDataContracts = new[] {data1, data2, data3 };
SensorContract sensor = new SensorContract
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment