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