updating endpoint to be consistent. support/healthsystem
This commit is contained in:
parent
baa4958854
commit
c53e539373
|
@ -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())
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue