added new error message (detail)
This commit is contained in:
@@ -225,7 +225,7 @@ window.LNbits = {
|
|||||||
Quasar.plugins.Notify.create({
|
Quasar.plugins.Notify.create({
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
type: types[error.response.status] || 'warning',
|
type: types[error.response.status] || 'warning',
|
||||||
message: error.response.data.message || null,
|
message: error.response.data.message || error.response.data.detail || null,
|
||||||
caption:
|
caption:
|
||||||
[error.response.status, ' ', error.response.statusText]
|
[error.response.status, ' ', error.response.statusText]
|
||||||
.join('')
|
.join('')
|
||||||
|
|||||||
Reference in New Issue
Block a user