We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c0e11 commit 5cd044eCopy full SHA for 5cd044e
1 file changed
lib/models/account-manager.js
@@ -83,18 +83,18 @@ class AccountManager {
83
*/
84
accountExists (accountName) {
85
let accountUri
86
- let rootAclPath
+ let cardPath
87
88
try {
89
accountUri = this.accountUriFor(accountName)
90
accountUri = url.parse(accountUri).hostname
91
92
- rootAclPath = url.resolve('/', this.store.suffixAcl)
+ cardPath = url.resolve('/', this.pathCard)
93
} catch (err) {
94
return Promise.reject(err)
95
}
96
97
- return this.accountUriExists(accountUri, rootAclPath)
+ return this.accountUriExists(accountUri, cardPath)
98
99
100
/**
0 commit comments