File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1717 pull_request :
1818 # The branches below must be a subset of the branches above
1919 branches : [ master ]
20- schedule :
21- - cron : ' 27 20 * * 4'
2220
2321jobs :
2422 analyze :
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ name: Node.js tests
22
33on :
44 push :
5- branches : [ $default-branch ]
5+ branches : [ master ]
66 pull_request :
7- branches : [ $default-branch ]
7+ branches : [ master ]
88
99jobs :
10- build :
10+ test :
1111 runs-on : ubuntu-latest
1212
1313 strategy :
Original file line number Diff line number Diff line change 1- # [ WIP] Apitator
1+ # Vue-Apitator
2+
3+ ![ Unit test workflow] ( https://github.com/lefuturiste/vue-apitator/actions/workflows/tests/badge.svg )
24
35A simple way to query your REST or your GraphQL API in your Vue.js app
46
57## Installation
68
79` npm install --save vue-apitator `
810
11+ or
12+
13+ ` yarn add vue-apitator `
14+
915## Usage
1016
1117in your main.js:
Original file line number Diff line number Diff line change @@ -53,10 +53,8 @@ export default class client {
5353 this . toggleLoading ( )
5454 if ( ! options . headers )
5555 options . headers = { }
56-
57- if ( options . withAuth ) {
56+ if ( options . withAuth )
5857 options . headers . Authorization = this . authorizationHeader
59- }
6058
6159 let requestConfig : AxiosRequestConfig = {
6260 method : method ,
You can’t perform that action at this time.
0 commit comments