mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
console: trim trailing spaces in action handler URL (close #5416)
This commit is contained in:
parent
65e568e6dd
commit
58b0ac1352
@ -138,7 +138,7 @@ export const createAction = () => (dispatch, getState) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const state = {
|
const state = {
|
||||||
handler: rawState.handler,
|
handler: rawState.handler.trim(),
|
||||||
kind: rawState.kind,
|
kind: rawState.kind,
|
||||||
types,
|
types,
|
||||||
actionType,
|
actionType,
|
||||||
@ -258,7 +258,7 @@ export const saveAction = currentAction => (dispatch, getState) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const state = {
|
const state = {
|
||||||
handler: rawState.handler,
|
handler: rawState.handler.trim(),
|
||||||
kind: rawState.kind,
|
kind: rawState.kind,
|
||||||
types,
|
types,
|
||||||
actionType,
|
actionType,
|
||||||
|
Loading…
Reference in New Issue
Block a user