Compare commits

...

2 Commits

Author SHA1 Message Date
victorAnumudu 14e8b1b01d made url name a required payload 2025-09-22 17:30:49 +01:00
ameye 504bfbcae4 Merge branch 'url-length' of MERMS/MermsPanelReactJS into master 2025-09-22 15:51:46 +00:00
@@ -56,8 +56,8 @@ export default function ProfileCompleteCom() {
const mutation = useMutation({
mutationFn: (fields) => {
const {practice, specialization} = fields
if (!practice || !specialization) {
throw new Error('Please select both practice and specialization fields')
if (!practice || !specialization || !url_name) {
throw new Error('Please select both practice, specialization fields and URL_Name')
}
return completeProfile(fields)
},