I have added the subdomain verification logic everywhere in authentication as well as in the Action Api Endpoint I am verifiying the subdomain before calling the url. Still I am unable to pass this warning.
The code I have added is attached below. I am unable to figure out why I am still getting this warning. Please Help.
Also I have an unpublished previous version and then I have worked on a newer version Will both my versions be published if I publish the latest one???
if (!/^[a-z0-9-]+$/.test(bundle.authData.subdomain)) {
throw new Error(
"Subdomain can only contain letters, numbers and dashes (-)."
);
}