Skip to content

Commit

Permalink
update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pobu168 committed Nov 19, 2020
1 parent 576847b commit 3cce3f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/api/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ if (window.request) {
post: (url, ...params) => pluginErrorMessage(window.request.post(baseURL + url, ...params)),
get: (url, ...params) => pluginErrorMessage(window.request.get(baseURL + url, ...params)),
delete: (url, ...params) => pluginErrorMessage(window.request.delete(baseURL + url, ...params)),
put: (url, ...params) => pluginErrorMessage(window.request.put(baseURL + url, ...params))
put: (url, ...params) => pluginErrorMessage(window.request.put(baseURL + url, ...params)),
patch: (url, ...params) => pluginErrorMessage(window.request.patch(baseURL + url, ...params))
}
}

Expand Down

0 comments on commit 3cce3f2

Please sign in to comment.