TODO.
This commit is contained in:
parent
182a1df960
commit
11704ea983
|
@ -107,6 +107,8 @@ export async function save(ctx: UserCtx<SaveRoleRequest, SaveRoleResponse>) {
|
||||||
role._rev = result.rev
|
role._rev = result.rev
|
||||||
ctx.body = role
|
ctx.body = role
|
||||||
|
|
||||||
|
// TODO: need to check that the prod DB actually exists, I think it won't
|
||||||
|
// if the app has never been published.
|
||||||
const replication = new dbCore.Replication({
|
const replication = new dbCore.Replication({
|
||||||
source: context.getDevAppDB().name,
|
source: context.getDevAppDB().name,
|
||||||
target: context.getProdAppDB().name,
|
target: context.getProdAppDB().name,
|
||||||
|
|
Loading…
Reference in New Issue