Skip to content

Commit

Permalink
Merge pull request #4 from miqdadyyy/hotfix
Browse files Browse the repository at this point in the history
Fix badge and fix webhook URL should be not null
  • Loading branch information
miqdadyyy authored May 13, 2021
2 parents 3fd58fb + 6c62a27 commit d23a7ce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: npm-publish

on:
release:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
![NPM](https://img.shields.io/npm/l/movider?color=red)
![npm](https://img.shields.io/npm/v/movider?color=blue)
![npm](https://img.shields.io/npm/dy/movider)
![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/miqdadyyy/movider/unit-test/master?color=green)
![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/miqdadyyy/movider/npm-publish/master?color=green)

Unofficial package for Movider SMS Service

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const Movider = class {
sendSMS(to, message, options = {
from: 'MOVIDER',
callback: {
url: null,
method: null
url: '',
method: ''
}
}) {
return this._fetch('/sms', {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "movider",
"version": "0.2.0",
"version": "0.2.1",
"description": "API to create request to movider SMS Service",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d23a7ce

Please sign in to comment.