This commit is contained in:
Sam Rose 2024-03-05 17:40:38 +00:00
parent 182a1df960
commit 11704ea983
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ export async function save(ctx: UserCtx<SaveRoleRequest, SaveRoleResponse>) {
role._rev = result.rev
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({
source: context.getDevAppDB().name,
target: context.getProdAppDB().name,