Skip to content

Commit 42da4ec

Browse files
committed
🐛 Fix missing return on interceptor
1 parent 0cae624 commit 42da4ec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const VueRest = {
3030
if (token) {
3131
Object.assign(config.headers, { Authorization: `${prefix} ${token}` });
3232
}
33+
return config;
3334
});
3435
}
3536
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-rest",
3-
"version": "0.1.25",
3+
"version": "0.2.0",
44
"description": "Plugin for using vue + axios for REST API consumption",
55
"author": "Kimura <joseduardo.kimura@gmail.com>",
66
"private": false,

0 commit comments

Comments
 (0)