Skip to content

Commit

Permalink
Merge pull request #62 from CleverCloud/devel/fdubois/chore/functions…
Browse files Browse the repository at this point in the history
…/rename-organisations

chore(functions): rename api path from organisations to organisations
  • Loading branch information
FlorentinDUBOIS committed Jun 27, 2024
2 parents 891f412 + e9915a8 commit e1956e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/v4/functions/deployments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}/deployments",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}/deployments",
client.endpoint
);

Expand All @@ -248,7 +248,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}/deployments",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}/deployments",
client.endpoint
);

Expand Down Expand Up @@ -277,7 +277,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}/deployments/{deployment_id}",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}/deployments/{deployment_id}",
client.endpoint
);

Expand Down Expand Up @@ -310,7 +310,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}/deployments/{deployment_id}/trigger",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}/deployments/{deployment_id}/trigger",
client.endpoint
);

Expand Down Expand Up @@ -381,7 +381,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}/deployments/{deployment_id}",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}/deployments/{deployment_id}",
client.endpoint
);

Expand Down
10 changes: 5 additions & 5 deletions src/v4/functions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions",
"{}/v4/functions/organisations/{organisation_id}/functions",
client.endpoint
);

Expand All @@ -196,7 +196,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions",
"{}/v4/functions/organisations/{organisation_id}/functions",
client.endpoint
);

Expand Down Expand Up @@ -224,7 +224,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}",
client.endpoint
);

Expand Down Expand Up @@ -253,7 +253,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}",
client.endpoint
);

Expand Down Expand Up @@ -281,7 +281,7 @@ where
C: Connect + Clone + Debug + Send + Sync + 'static,
{
let path = format!(
"{}/v4/functions/organizations/{organisation_id}/functions/{function_id}",
"{}/v4/functions/organisations/{organisation_id}/functions/{function_id}",
client.endpoint
);

Expand Down

0 comments on commit e1956e1

Please sign in to comment.