1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00
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

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,