mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-14 12:52:47 +02:00
fix: better message
This commit is contained in:
parent
dc9338b991
commit
d6bfbb0045
1 changed files with 2 additions and 2 deletions
|
|
@ -415,11 +415,11 @@ window.PageUsers = {
|
|||
toggleUserActivated(userId) {
|
||||
LNbits.api
|
||||
.request('PUT', `/users/api/v1/user/${userId}/activate`)
|
||||
.then(() => {
|
||||
.then(res => {
|
||||
this.fetchUsers()
|
||||
Quasar.Notify.create({
|
||||
type: 'positive',
|
||||
message: 'Toggled user activation!',
|
||||
message: res.data.message,
|
||||
icon: null
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue