Skip to content

Commit 885becd

Browse files
committed
Ensured backwards compatibility
1 parent f49bcb0 commit 885becd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Api/Controllers/Tado.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void Dispose()
6565
/// Initiates an authentication session by requesting a device authentication url which can be used to authenticate to Tado
6666
/// </summary>
6767
/// <returns>Instance of <see cref="Models.Authentication.DeviceAuthorizationResponse"/> containing the information to perform the device authentication or NULL if unable to initiate authentication session</returns>
68-
public async Task<Models.Authentication.DeviceAuthorizationResponse?> GetDeviceCodeAuthentication(CancellationToken cancellationToken)
68+
public async Task<Models.Authentication.DeviceAuthorizationResponse?> GetDeviceCodeAuthentication(CancellationToken cancellationToken = default)
6969
{
7070
var queryBuilder = new Helpers.QueryStringBuilder();
7171
queryBuilder.Add("client_id", ClientId);

0 commit comments

Comments
 (0)