hartfordfive/ruby-grafana-api

update_org => wrong method called

Opened this issue · 0 comments

Hello again,
I think in :
def update_org(org_id, properties={})
endpoint = "/api/orgs/#{org_id}"
@logger.info("Updating orgnaization ID #{org_id} (POST #{endpoint})") if @debug
return post_request(endpoint, properties)
end

It should be a 'put'.

Thanks.
Gael.