clear tariffID in Site
MODIFY
src/server/rest/v1/service/SiteService.ts
src/server/rest/v1/service/SiteService.ts
@@ -405,8 +405,7 @@ export default class SiteService {
}
site.public = filteredRequest.public;
}
- if (Utils.objectHasProperty(filteredRequest, 'tariffID') &&
- filteredRequest.tariffID !== '') {
+ if (Utils.objectHasProperty(filteredRequest, 'tariffID')) {
site.tariffID = filteredRequest.tariffID;
}
if (Utils.objectHasProperty(filteredRequest, 'autoUserSiteAssignment')) {

clear tariffID in Site