Set active and issuer flags to true in tag assign
MODIFY
src/assets/server/rest/v1/schemas/tag/tag-assign.json
src/assets/server/rest/v1/schemas/tag/tag-assign.json
"description": {
"$ref": "tag.json#/definitions/description"
},
- "active": {
- "$ref": "tag.json#/definitions/active"
- },
- "issuer": {
- "$ref": "tag.json#/definitions/issuer"
- },
"default": {
"$ref": "tag.json#/definitions/default"
},

MODIFY
src/server/rest/v1/service/TagService.ts
src/server/rest/v1/service/TagService.ts
@@ -285,7 +285,6 @@ export default class TagService {
tag.description = filteredRequest.description;
tag.lastChangedBy = { id: req.user.id };
tag.lastChangedOn = new Date();
- tag.active = filteredRequest.active;
// Assign
await TagStorage.saveTag(req.tenant, tag);
// OCPI

Set active and issuer flags to true in tag assign