aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Auth
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-10-21 10:54:21 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-10-24 11:38:44 +0200
commit5fe5eba9694f1dc75b48ad89e906e10790d1daa3 (patch)
tree3adb97af4b6a1750ed8042613d9d2fd8679f06c9 /src/csharp/Grpc.Auth
parent1445c479013a997a2fa41bfd09a5219298c4c3d8 (diff)
provide framework independent version of Task.CompletedTask
Diffstat (limited to 'src/csharp/Grpc.Auth')
-rw-r--r--src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs b/src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs
index 722b51f470..c5bca444b4 100644
--- a/src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs
+++ b/src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs
@@ -76,7 +76,7 @@ namespace Grpc.Auth
return new AsyncAuthInterceptor((context, metadata) =>
{
metadata.Add(CreateBearerTokenHeader(accessToken));
- return Task.FromResult<object>(null);
+ return TaskUtils.CompletedTask;
});
}