mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
repair false modify url
This commit is contained in:
@@ -67,7 +67,7 @@ export function modifyConfig(config: Config, callback?: () => void) {
|
|||||||
return function(dispatch: Dispatch) {
|
return function(dispatch: Dispatch) {
|
||||||
dispatch(modifyConfigPending(config));
|
dispatch(modifyConfigPending(config));
|
||||||
return apiClient
|
return apiClient
|
||||||
.put(config._links.update.href + "letsfail!", config, CONTENT_TYPE_CONFIG)
|
.put(config._links.update.href, config, CONTENT_TYPE_CONFIG)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
dispatch(modifyConfigSuccess(config));
|
dispatch(modifyConfigSuccess(config));
|
||||||
if (callback) {
|
if (callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user