diff --git a/src/Cronofy/Responses/UserInfoResponse.cs b/src/Cronofy/Responses/UserInfoResponse.cs index a075e4b..5724fd1 100644 --- a/src/Cronofy/Responses/UserInfoResponse.cs +++ b/src/Cronofy/Responses/UserInfoResponse.cs @@ -326,10 +326,10 @@ internal sealed class ConferencingProfileResponse public string ProfileRelinkUrl { get; set; } /// - /// Converts the response into a . + /// Converts the response into a . /// /// - /// A based upon the response. + /// A based upon the response. /// public UserInfo.ConferencingProfile ToConferencingProfile() { @@ -339,7 +339,7 @@ public UserInfo.ConferencingProfile ToConferencingProfile() Id = this.ProfileId, Name = this.ProfileName, Connected = this.ProfileConnected, - RelinkUrl = this.ProfileRelinkUrl + RelinkUrl = this.ProfileRelinkUrl, }; } } diff --git a/src/Cronofy/UserInfo.cs b/src/Cronofy/UserInfo.cs index 8a23934..008d7aa 100644 --- a/src/Cronofy/UserInfo.cs +++ b/src/Cronofy/UserInfo.cs @@ -311,7 +311,7 @@ public override bool Equals(object obj) /// to the current ; otherwise, /// false. /// - public bool Equals(Profile other) + public bool Equals(ConferencingProfile other) { return other != null && this.Id == other.Id diff --git a/test/Cronofy.Test/CronofyAccountClientTests/GetUserInfo.cs b/test/Cronofy.Test/CronofyAccountClientTests/GetUserInfo.cs index 3002ed5..a38e55e 100644 --- a/test/Cronofy.Test/CronofyAccountClientTests/GetUserInfo.cs +++ b/test/Cronofy.Test/CronofyAccountClientTests/GetUserInfo.cs @@ -178,18 +178,20 @@ public void CanGetUserInfoForAccount() }, ConferencingProfiles = new UserInfo.ConferencingProfile[] { - new UserInfo.ConferencingProfile { + new UserInfo.ConferencingProfile + { Connected = true, Id = "pro_jknsdfk234", Name = "example@cronofy.com", ProviderName = "zoom", }, - new UserInfo.ConferencingProfile { + new UserInfo.ConferencingProfile + { Connected = false, Id = "pro_gfmdsg51qa", Name = "example@cronofy.com", RelinkUrl = "https://app.cronofy.com/v2/relink/go_to?email=example%40cronofy.com", - ProviderName = "go_to1", + ProviderName = "go_to", }, }, Email = "janed@company.com",