Skip to content

Commit 201b61a

Browse files
authored
fix(admin): new config uris (#2065)
1 parent 03e25b6 commit 201b61a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ impl Client {
5454

5555
pub async fn get_project_config(&self, project_id: &str) -> Result<ParsedJson<Value>> {
5656
self.inner
57-
.get_json(format!("/admin/projects/{project_id}/config"))
57+
.get_json(format!("/admin/projects/{project_id}/raw-data"))
5858
.await
5959
}
6060

6161
pub async fn upgrade_project_to_lb(&self, project_id: &str) -> Result<ParsedJson<Value>> {
6262
self.inner
6363
.put_json(
64-
format!("/admin/projects/{project_id}/config"),
64+
format!("/admin/projects/{project_id}/alb"),
6565
Option::<()>::None,
6666
)
6767
.await

0 commit comments

Comments
 (0)