Skip to content

Commit

Permalink
HOTFIX: psp-4851 Correct issue with geocoder key not being present in…
Browse files Browse the repository at this point in the history
… "future" requests. (#2434)

Co-authored-by: Smith <[email protected]>
  • Loading branch information
devinleighsmith and Smith authored Nov 15, 2022
1 parent 1087696 commit c95559c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/backend/api/Pims.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<UserSecretsId>0ef6255f-9ea0-49ec-8c65-c172304b4926</UserSecretsId>
<Version>2.2.0-39.24</Version>
<Version>2.2.0-39.24</Version>
<Version>2.2.1-39.24</Version>
<Version>2.2.1-39.24</Version>
<AssemblyVersion>2.2.0.39</AssemblyVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ProjectGuid>16BC0468-78F6-4C91-87DA-7403C919E646</ProjectGuid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ public static class ServiceCollectionExtensions
/// <returns></returns>
public static IServiceCollection AddGeocoderService(this IServiceCollection services, IConfigurationSection section)
{
// In this instance the auth service is bundled with the geocoder service itself, and the auth service is intended to be a singleton.
return services
.Configure<Configuration.GeocoderOptions>(section)
.AddSingleton<IGeocoderService, GeocoderService>()
.AddScoped<IHttpRequestClient, HttpRequestClient>();
.AddSingleton<IHttpRequestClient, HttpRequestClient>();
}
}
}
2 changes: 1 addition & 1 deletion source/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "2.2.0-39.24",
"version": "2.2.1-39.24",
"private": true,
"dependencies": {
"@bcgov/bc-sans": "1.0.1",
Expand Down

0 comments on commit c95559c

Please sign in to comment.