diff --git a/src/configs/webconfig.cpp b/src/configs/webconfig.cpp index 8aeb14633..5ad036dec 100644 --- a/src/configs/webconfig.cpp +++ b/src/configs/webconfig.cpp @@ -614,7 +614,7 @@ std::string getProfileOptions() writePinDoc(i, "pin27", profileOptions.gpioMappingsSets[i].pins[27]); writePinDoc(i, "pin28", profileOptions.gpioMappingsSets[i].pins[28]); writePinDoc(i, "pin29", profileOptions.gpioMappingsSets[i].pins[29]); - writeDoc(doc, i, "profileLabel", profileOptions.gpioMappingsSets[i].profileLabel); + writeDoc(doc, "alternativePinMappings", i, "profileLabel", profileOptions.gpioMappingsSets[i].profileLabel); } return serialize_json(doc);