Comparing version
@@ -477,3 +477,3 @@ 'use strict'; | ||
error = 'Auction already ended.'; | ||
} else if ('started' !== status) { | ||
} else if ('started' !== status && 'ending' !== status) { | ||
error = 'Auction not started.'; | ||
@@ -480,0 +480,0 @@ } |
@@ -555,3 +555,3 @@ 'use strict'; | ||
error = 'Auction already ended.'; | ||
} else if ('started' !== status) { | ||
} else if ('started' !== status && 'ending' !== status) { | ||
error = 'Auction not started.'; | ||
@@ -558,0 +558,0 @@ } |
{ | ||
"name": "auction", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Easy way to create auctions", | ||
@@ -5,0 +5,0 @@ "author": { |
49475
0.1%