Skip to content

Commit

Permalink
updating endpoint to be consistent. support/healthsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed May 15, 2024
1 parent baa4958 commit c53e539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/pkg/web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/services/fasten-api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c53e539

Please sign in to comment.