vendorActions.js
323 Bytes
import axios from "axios";
export const finishVendorOtpVerification = async verificationData => {
const config = {
headers: {
"Content-Type": "application/json"
}
};
return await axios.post(`${process.env.NEXT_PUBLIC_BACKEND_API_URL}/api/vendor/finish-otp-verification`, verificationData, config);
};