Skip to content

Commit

Permalink
3.1.1
Browse files Browse the repository at this point in the history
fixed pipeline to push to github registry as well as npm registry

3.1.2

fixed issue with ghr due to it not knowing of which registry to use: actions/setup-node#73
  • Loading branch information
synle committed Jul 13, 2020
1 parent 6808d67 commit 44ab712
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
node-version: 12
- run: npm ci
- run: npm test
- run: git diff --no-ext-diff --quiet --exit-code


build-publish-npm:
needs: do-test
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "restapi-typescript-decorators",
"version": "3.1.0",
"version": "3.1.2",
"description": "Decorators that helps reduce the boilderplate code for rest api calls on the frontend and node js",
"main": "build/index",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export const RestApi = (url: string, restApiOptions: RestApiOptions = {}) => {
descriptor.value = function(...inputs) {
const instance = this;

const requestBody = _getRequestBody(instance, methodName, inputs);
const requestBody = _getRequestBody(instance, methodName, inputs);

// construct the url wild cards {param1} {param2} etc...
let urlToUse = '';
Expand Down

0 comments on commit 44ab712

Please sign in to comment.