updating endpoint to be consistent. support/healthsystem

This commit is contained in:
Jason Kulatunga 2024-05-15 16:22:04 -07:00
parent baa4958854
commit c53e539373
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ func (ae *AppEngine) Setup() (*gin.RouterGroup, *gin.Engine) {
api.GET("/glossary/code", handler.GlossarySearchByCode)
api.POST("/support/request", handler.SupportRequest)
api.POST("/healthsystem/request", handler.HealthSystemRequest)
api.POST("/support/healthsystem", handler.HealthSystemRequest)
secure := api.Group("/secure").Use(middleware.RequireAuth())
{

View File

@ -350,7 +350,7 @@ export class FastenApiService {
}
requestHealthSystem(requestHealth: FormRequestHealthSystem): Observable<any> {
return this._httpClient.post<any>(`${GetEndpointAbsolutePath(globalThis.location, environment.fasten_api_endpoint_base)}/healthsystem/request`, requestHealth)
return this._httpClient.post<any>(`${GetEndpointAbsolutePath(globalThis.location, environment.fasten_api_endpoint_base)}/support/healthsystem`, requestHealth)
.pipe(
map((response: ResponseWrapper) => {
// @ts-ignore