Fixing an issue with data source saving.
This commit is contained in:
parent
2f2bf2f26c
commit
49d2796f8e
|
@ -76,7 +76,7 @@ exports.update = async function (ctx) {
|
|||
|
||||
ctx.status = 200
|
||||
ctx.message = "Datasource saved successfully."
|
||||
ctx.body = datasource
|
||||
ctx.body = { datasource }
|
||||
}
|
||||
|
||||
exports.save = async function (ctx) {
|
||||
|
|
Loading…
Reference in New Issue