Skip to content

Commit a0764e4

Browse files
sipsorceryCopilot
andauthored
No need to be able to customise this link. It should always be the identity server from now on (#634)
* No need to be able to customise this link. It should always be the identity server from now on. * Update src/NoFrixion.MoneyMoov/Models/UserInvite/UserInviteCreate.cs Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent a6b9a94 commit a0764e4

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/NoFrixion.MoneyMoov/ApiClients/UserInviteClient.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public interface IUserInviteClient
3030

3131
Task<RestApiResponse<UserInvite>> SendInviteAsync(string userAccessToken, Guid merchantID,
3232
string inviteeEmailAddress,
33-
string inviteRegistrationUrl,
3433
bool sendInviteEmail,
3534
string inviteeFirstName,
3635
string inviteeLastName,
@@ -132,15 +131,12 @@ public Task<RestApiResponse<UserInvite>> GetUserInviteDetailsAsync(string access
132131
/// <param name="userAccessToken">A User scoped JWT access token.</param>
133132
/// <param name="merchantID">The ID of the merchant the user is being invited to join.</param>
134133
/// <param name="inviteeEmailAddress">The email address of the user to invite.</param>
135-
/// <param name="inviteRegistrationUrl">The URL the invitee needs to visit to accept thhe invite and
136-
/// register.</param>
137134
/// <param name="sendInviteEmail">True if an email should be sent to the invitee.</param>
138135
/// <param name="inviteeFirstName">The first name of the person being invited.</param>
139136
/// <param name="inviteeLastName">The last name of the person being invited.</param>
140137
/// <param name="initialRoleID">The role ID to automatically assign to the merchant’s very first user.</param>
141138
public Task<RestApiResponse<UserInvite>> SendInviteAsync(string userAccessToken, Guid merchantID,
142139
string inviteeEmailAddress,
143-
string inviteRegistrationUrl,
144140
bool sendInviteEmail,
145141
string inviteeFirstName,
146142
string inviteeLastName,
@@ -154,7 +150,6 @@ public Task<RestApiResponse<UserInvite>> SendInviteAsync(string userAccessToken,
154150
{
155151
MerchantID = merchantID,
156152
InviteeEmailAddress = inviteeEmailAddress,
157-
RegistrationUrl = inviteRegistrationUrl,
158153
SendInviteEmail = sendInviteEmail,
159154
InviteeFirstName = inviteeFirstName,
160155
InviteeLastName = inviteeLastName,

src/NoFrixion.MoneyMoov/Models/UserInvite/UserInviteCreate.cs

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public class UserInviteCreate
4646
/// Optional URL to provide to the invited user to inform them where to
4747
/// visit to accept the invite.
4848
/// </summary>
49+
[Obsolete("The registraion URL cannot be customised.")]
50+
[Obsolete("The registration URL cannot be customised.")]
4951
public string? RegistrationUrl { get; set; } = string.Empty;
5052

5153
/// <summary>
@@ -71,7 +73,6 @@ public Dictionary<string, string> ToDictionary()
7173
{
7274
{ nameof(MerchantID), MerchantID.ToString() },
7375
{ nameof(InviteeEmailAddress), InviteeEmailAddress },
74-
{ nameof(RegistrationUrl), RegistrationUrl ?? string.Empty },
7576
{ nameof(SendInviteEmail), SendInviteEmail.ToString() },
7677
{nameof(InviteeFirstName), InviteeFirstName ?? string.Empty},
7778
{nameof(InviteeLastName), InviteeLastName ?? string.Empty},

0 commit comments

Comments
 (0)