diff --git a/Src/Dlhis.Jip.Api/ClientHandlers/JipTokenHandler.cs b/Src/Dlhis.Jip.Api/ClientHandlers/JipTokenHandler.cs
index e1a68d48..9e8aa900 100644
--- a/Src/Dlhis.Jip.Api/ClientHandlers/JipTokenHandler.cs
+++ b/Src/Dlhis.Jip.Api/ClientHandlers/JipTokenHandler.cs
@@ -42,6 +42,8 @@ public class JipTokenHandler : IAsyncAuthTokenHandler
var jwtHandler = new JwtSecurityTokenHandler();
var securityToken = jwtHandler.CreateToken(descriptor);
- return await Task.FromResult(jwtHandler.WriteToken(securityToken));
+ var token = await Task.FromResult(jwtHandler.WriteToken(securityToken));
+
+ return "Bearer " + token;
}
}
\ No newline at end of file
diff --git a/Src/Dlhis.ScheduledTask/Program.cs b/Src/Dlhis.ScheduledTask/Program.cs
index 9cbf22c6..7c759046 100644
--- a/Src/Dlhis.ScheduledTask/Program.cs
+++ b/Src/Dlhis.ScheduledTask/Program.cs
@@ -22,20 +22,4 @@ public class Startup : DefaultStartup
base.ConfigureServices(services);
services.AddRedis();
}
-
- ///
- public override void Configure(IApplicationBuilder app, IWebHostEnvironment env)
- {
- base.Configure(app, env);
-
- // var a = app.ApplicationServices.GetService().SyncMealSupplementRecordsAsync(new List()
- // {
- // new SyncMealSupplementRecordRequest
- // {
- // UniqueId = null,
- // Status = null,
- // Msg = null
- // }
- // }).GetAwaiter().GetResult();
- }
}
\ No newline at end of file