@@ -94,7 +94,7 @@ export default {
9494 if (! this .enableMaximumValidity ) {
9595 this .maximumValidity = ' 0'
9696 }
97- OCP .AppConfig .setValue (' libresign' , ' maximum_validity' , Number (this .maximumValidity ))
97+ OCP .AppConfig .setValue (' libresign' , ' maximum_validity' , String ( Number (this .maximumValidity ) ))
9898 },
9999 async getRenewalInterval () {
100100 const response = await axios .get (
@@ -107,7 +107,7 @@ export default {
107107 if (! this .enableRenewalInterval ) {
108108 this .renewalInterval = ' 0'
109109 }
110- OCP .AppConfig .setValue (' libresign' , ' renewal_interval' , Number (this .renewalInterval ))
110+ OCP .AppConfig .setValue (' libresign' , ' renewal_interval' , String ( Number (this .renewalInterval ) ))
111111 },
112112 async getExpiryInDays () {
113113 const response = await axios .get (
@@ -122,7 +122,7 @@ export default {
122122 if (! this .expiryInDays ) {
123123 this .expiryInDays = 365
124124 }
125- OCP .AppConfig .setValue (' libresign' , ' expiry_in_days' , Number (this .expiryInDays ))
125+ OCP .AppConfig .setValue (' libresign' , ' expiry_in_days' , String ( Number (this .expiryInDays ) ))
126126 },
127127 },
128128}
0 commit comments