Skip to content

Commit

Permalink
Fixing trailing slashes in config param editing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob6838 committed May 16, 2024
1 parent 2755087 commit e3eb84a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/src/apis/configuration-param-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class ConfigParamsApi {
async updateDefaultParameter(token: string, name: string, param: Config): Promise<Config | undefined> {
try {
var response = await authApiHelper.invokeApi({
path: "/config/default/",
path: "/config/default",
token: token,
method: "POST",
headers: { "Content-Type": "application/json" },
Expand All @@ -159,7 +159,7 @@ class ConfigParamsApi {
): Promise<IntersectionConfig | undefined> {
try {
var response = await authApiHelper.invokeApi({
path: "/config/intersection/",
path: "/config/intersection",
token: token,
method: "POST",
headers: { "Content-Type": "application/json" },
Expand Down Expand Up @@ -214,7 +214,7 @@ class ConfigParamsApi {
): Promise<Config | undefined> {
try {
var response = await authApiHelper.invokeApi({
path: "/config/intersection/",
path: "/config/intersection",
token: token,
method: "DELETE",
headers: { "Content-Type": "application/json" },
Expand Down

0 comments on commit e3eb84a

Please sign in to comment.