Skip to content

Commit abafb07

Browse files
author
Mostafa Kamal
committed
authURI fix
1 parent 52077c5 commit abafb07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mixins/permit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
let afterCheck = []
2929

3030
if (this.v_permit[`${triggerItem}`] === false && this.v_permit_loop_off[`${triggerItem}`] === 'none') {
31-
axios.get('https://raw.githubusercontent.com/0devco/JSpermit/master/authUserPermissions.json')
31+
axios.get(this.authPermissionURI)
3232
.then(response => {
3333
authUserPermissions = response.data
3434
// console.log(authUserPermissions)
@@ -72,7 +72,7 @@ export default {
7272
let afterCheck = []
7373

7474
if (this.v_permit[`${triggerItem}`] === false && this.v_permit_loop_off[`${triggerItem}`] === 'none') {
75-
axios.get('https://raw.githubusercontent.com/0devco/JSpermit/master/authUserPermissions.json')
75+
axios.get(this.authPermissionURI)
7676
.then(response => {
7777
authUserPermissions = response.data
7878
// console.log(authUserPermissions)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@0devco/v-permit",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Vue Roles & Permissions (ACL) ⇆ [ Laravel+ Rails] ⇆ 0devco",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)