mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12: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 = {
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user