console: trim trailing spaces in action handler URL (close #5416)

This commit is contained in:
Gnyani 2020-07-31 16:54:37 +05:30 committed by GitHub
parent 65e568e6dd
commit 58b0ac1352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ export const createAction = () => (dispatch, getState) => {
}
const state = {
handler: rawState.handler,
handler: rawState.handler.trim(),
kind: rawState.kind,
types,
actionType,
@ -258,7 +258,7 @@ export const saveAction = currentAction => (dispatch, getState) => {
}
const state = {
handler: rawState.handler,
handler: rawState.handler.trim(),
kind: rawState.kind,
types,
actionType,