mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-13 19:33:55 +03:00
console: improve error handling for prerelease notification opt-out (#4983)
This commit is contained in:
parent
aaab6d3eb6
commit
e4e4856085
@ -292,7 +292,7 @@ For example, see [here](https://hasura.io/docs/1.0/graphql/manual/api-reference/
|
||||
- console: prevent trailing spaces while creating new role (close #3871) (#4497)
|
||||
- docs: add API docs for using environment variables as webhook urls in event triggers
|
||||
- server: fix recreating action's permissions (close #4377)
|
||||
- server: make the graceful shutdown logic customizable (graceful shutdown on the SIGTERM signal continues to be the default)
|
||||
- server: make the graceful shutdown logic customizable (graceful shutdown on the SIGTERM signal continues to be the default)
|
||||
- docs: add reference docs for CLI (clsoe #4327) (#4408)
|
||||
|
||||
## `v1.2.0-beta.4`
|
||||
|
@ -29,6 +29,16 @@ const setConsoleOptsInDB = (opts, successCb, errorCb) => (
|
||||
...opts,
|
||||
};
|
||||
|
||||
if (!hasura_uuid) {
|
||||
dispatch(
|
||||
showErrorNotification(
|
||||
'Opt out of pre-release notifications failed',
|
||||
'Internal error: missing hasura_uuid'
|
||||
)
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
const options = {
|
||||
credentials: globalCookiePolicy,
|
||||
method: 'POST',
|
||||
|
Loading…
Reference in New Issue
Block a user