TheCre8r / WME-BackEnd-Data

3 stars 6 forks source link

Does not search if "(copy)" is in name of place #25

Closed jm6087 closed 3 years ago

jm6087 commented 4 years ago

I added lines 252 and 253 to tell the script not to run if the place name includes " (copy) " Note: Copy must be within () in order for it not to run.

TheCre8r commented 3 years ago

Will be fixed in next version Added a check prior to the function call if (!venue.name.includes("Parking -") || !venue.name.includes("Parking -") || !venue.name.includes("Lot -") || !venue.name.includes("(copy)") ) {

TheCre8r commented 3 years ago

Pushed into production.