Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
Signed-off-by: Ismael Ibuan <[email protected]>
  • Loading branch information
iibuan committed Sep 27, 2024
1 parent 5ca23a8 commit ede20a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goapp/repository/item/item-repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,5 +271,5 @@ func (r *itemRepository) ValidateItem(appId, appModuleId, itemId, email string)
return false, err
}

return result[0]["IsValid"].(bool), nil
return result[0]["IsValid"] == "1", nil
}

0 comments on commit ede20a0

Please sign in to comment.