Skip to content

Commit

Permalink
fix: get services
Browse files Browse the repository at this point in the history
Signed-off-by: Kathurima Kimathi <[email protected]>
  • Loading branch information
KathurimaKimathi committed Oct 12, 2023
1 parent 53f6d6e commit acac9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthcrm.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (h *HealthCRMLib) UpdateFacility(ctx context.Context, id string, updatePayl

// GetFacilityServices fetches services associated with facility
func (h *HealthCRMLib) GetFacilityServices(ctx context.Context, facilityID string) (*FacilityServicePage, error) {
path := "/v1/facilities/facilities/"
path := "/v1/facilities/services/"
queryParams := make(map[string]string)
queryParams["facility"] = facilityID
response, err := h.client.MakeRequest(ctx, http.MethodGet, path, queryParams, nil)
Expand Down

0 comments on commit acac9c6

Please sign in to comment.