Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sinchang committed Mar 28, 2018
1 parent 9ab8523 commit ca8fd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import jsQR from 'jsqr'
import UPNG from 'upng-js'

export default (input, cb) => {
export default input => {
if (!input) {
throw new Error('need File object or image url')
}
Expand Down

0 comments on commit ca8fd84

Please sign in to comment.