mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Changed error message and description
This commit is contained in:
parent
c0423bd713
commit
86f0c1808c
2 changed files with 7 additions and 7 deletions
|
|
@ -700,8 +700,8 @@ export const createQueryPanelSlice = (set, get) => ({
|
|||
if (query.restricted) {
|
||||
return {
|
||||
status: 'failed',
|
||||
message: 'Unauthorized Access',
|
||||
description: '',
|
||||
message: 'Query could not be completed',
|
||||
description: 'Response code 401 (Unauthorized)',
|
||||
data: {
|
||||
type: 'tj-401',
|
||||
responseObject: {
|
||||
|
|
@ -945,8 +945,8 @@ export const createQueryPanelSlice = (set, get) => ({
|
|||
if (query.restricted) {
|
||||
return {
|
||||
status: 'failed',
|
||||
message: 'Unauthorized Access',
|
||||
description: '',
|
||||
message: 'Query could not be completed',
|
||||
description: 'Response code 401 (Unauthorized)',
|
||||
data: {
|
||||
type: 'tj-401',
|
||||
responseObject: {
|
||||
|
|
@ -1016,8 +1016,8 @@ export const createQueryPanelSlice = (set, get) => ({
|
|||
if (queryDetails.restricted) {
|
||||
return {
|
||||
status: 'failed',
|
||||
message: 'Unauthorized Access',
|
||||
description: '',
|
||||
message: 'Query could not be completed',
|
||||
description: 'Response code 401 (Unauthorized)',
|
||||
data: {
|
||||
type: 'tj-401',
|
||||
responseObject: {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 914e2c03f18c8002ca296cf02068a9b163841bde
|
||||
Subproject commit bc43a53d3a1b6126f107ebfa09d645858f7065a4
|
||||
Loading…
Reference in a new issue