url_name
This commit is contained in:
@@ -55,7 +55,7 @@ export default function ProfileCompleteCom() {
|
|||||||
|
|
||||||
const mutation = useMutation({
|
const mutation = useMutation({
|
||||||
mutationFn: (fields) => {
|
mutationFn: (fields) => {
|
||||||
const {practice, specialization} = fields
|
const {practice, specialization, url_name} = fields
|
||||||
if (!practice || !specialization || !url_name) {
|
if (!practice || !specialization || !url_name) {
|
||||||
throw new Error('Please select both practice, specialization fields and URL_Name')
|
throw new Error('Please select both practice, specialization fields and URL_Name')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user