They are both correct.
https://www.dictionary.com/browse/vender
https://www.vocabulary.com/dictionary/vender
https://www.vocabulary.com/dictionary/vendor