Added quotes to live.yaml.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
console.log("Discovery started with:", data);
|
||||
|
||||
const payload = {
|
||||
internationalisation: {
|
||||
internationalization: {
|
||||
language: data[1].language,
|
||||
country: data[1].country,
|
||||
time_zone: data[1].timeZone
|
||||
@@ -77,7 +77,12 @@
|
||||
const response = await fetch('/discovery', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'text/yaml' },
|
||||
body: jsyaml.dump(payload, { quotingType: '"', forceQuotes: true })
|
||||
body: jsyaml.dump(payload, {
|
||||
quotingType: '"',
|
||||
styles: {
|
||||
'!!str': 'double'
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
if (response.ok) {
|
||||
|
||||
Reference in New Issue
Block a user