change get opay setting api response struct
This commit is contained in:
parent
0eeb9b49a2
commit
d2cfcac05f
@ -108,8 +108,9 @@ r.get('/channel/:chid/opay/setting', checkSession, getChannelList, hasChannel('c
|
||||
text,
|
||||
values
|
||||
})
|
||||
|
||||
c.obj = resObject('Success', {
|
||||
list: result.rows
|
||||
setting: result.rowCount === 0 ? {} : result.rows[0]
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user