Skip to content

Commit 2c13869

Browse files
committed
Internal improvements
- Fixed endpoint API - Added phone number to user edit - Moved to 1.0.7
1 parent 4feeae0 commit 2c13869

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/WifiPlug.Api/Entities/EndpointAddEntity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class EndpointAddEntity
1313
/// <summary>
1414
/// Gets or sets the application UUID.
1515
/// </summary>
16-
[JsonProperty("application")]
16+
[JsonProperty("application_uuid")]
1717
public Guid ApplicationUUID { get; set; }
1818

1919
/// <summary>

src/WifiPlug.Api/Entities/UserEditEntity.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ public class UserEditEntity
2121
/// </summary>
2222
[JsonProperty(PropertyName = "family_name")]
2323
public string FamilyName { get; set; }
24+
25+
/// <summary>
26+
/// Gets or sets the phone number.
27+
/// </summary>
28+
[JsonProperty(PropertyName = "phone")]
29+
public string PhoneNumber { get; set; }
2430
}
2531
}

src/WifiPlug.Api/WifiPlug.Api.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<PackageProjectUrl>https://wifiplug.co.uk</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/wifiplug/api-client-net</RepositoryUrl>
1313
<RepositoryType>git</RepositoryType>
14-
<AssemblyVersion>0.1.0.6</AssemblyVersion>
15-
<FileVersion>0.1.0.6</FileVersion>
14+
<AssemblyVersion>0.1.0.7</AssemblyVersion>
15+
<FileVersion>0.1.0.7</FileVersion>
1616
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1717
<PackageIconUrl>https://s3.eu-west-2.amazonaws.com/wifiplug-pub/nuget-icons/wifiplug.png</PackageIconUrl>
1818
<PackageLicenseUrl>https://github.com/wifiplug/api-client-net/blob/master/LICENSE</PackageLicenseUrl>
19-
<Version>1.0.6</Version>
19+
<Version>1.0.7</Version>
2020
</PropertyGroup>
2121

2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

0 commit comments

Comments
 (0)