Bug: Fix account_id in URLs (#894)

* Bug: Fix account_id in URLs
* Fix accountMixin specs
This commit is contained in:
Pranav Raj S 2020-05-26 23:36:42 +05:30 committed by GitHub
parent b7a583b2c4
commit efc59bb43f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 43 additions and 42 deletions

View file

@ -1,10 +1,10 @@
import auth from '../api/auth';
import { mapGetters } from 'vuex';
export default {
computed: {
accountId() {
return auth.getCurrentUser().account_id;
},
...mapGetters({
accountId: 'getCurrentAccountId',
}),
},
methods: {
addAccountScoping(url) {