We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b478d3 commit c67cbf1Copy full SHA for c67cbf1
src/lib_sett.gs
@@ -20,8 +20,8 @@ function getSetting_(property) {
20
function setSetting_(property, value) {
21
try {
22
const properties = PropertiesService.getScriptProperties();
23
- var settings = JSON.parse(properties.getProperty("SETTINGS")) || {};
24
- var upSettings = {
+ const settings = JSON.parse(properties.getProperty("SETTINGS")) || {};
+ const upSettings = {
25
...settings,
26
[property]: value
27
}
0 commit comments