🔧 (couchdb) change couchdb url

This commit is contained in:
Julien Calixte
2020-02-29 23:01:12 +01:00
parent 03408d1b7b
commit b06617b860
3 changed files with 3 additions and 1 deletions

2
.env
View File

@@ -1 +1 @@
VUE_APP_COUCHDB=https://juliencalixte.ddns.net/database VUE_APP_COUCHDB=https://couch.li212.fr

View File

@@ -85,6 +85,7 @@ export default class RefundTransaction extends Vue {
) )
const transaction: ITransaction = { const transaction: ITransaction = {
accountId: this.account._id, accountId: this.account._id,
doctype: 'transaction',
name: 'Remboursement', name: 'Remboursement',
date, date,
tag: TransactionTag.None, tag: TransactionTag.None,

View File

@@ -205,6 +205,7 @@ export default class AccountNew extends Vue {
})) }))
const userIds: string[] = users.map((u: IUser) => slug(u.userId)) const userIds: string[] = users.map((u: IUser) => slug(u.userId))
const newAccount: IAccount = { const newAccount: IAccount = {
doctype: 'account',
name: this.name, name: this.name,
admin: this.user admin: this.user
? { ? {