We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64d18b3 commit c9544edCopy full SHA for c9544ed
lib/claim/update.js
@@ -45,7 +45,7 @@ export default async (params, config, API) => {
45
46
if (rank) simplifiedClaim.rank = rank
47
48
- if (newValue) {
+ if (newValue != null) {
49
if (newValue.snaktype && newValue.snaktype !== 'value') {
50
simplifiedClaim.snaktype = newValue.snaktype
51
delete simplifiedClaim.value
0 commit comments