Skip to content

Commit

Permalink
fix: fieldPath should use single quote in []
Browse files Browse the repository at this point in the history
  • Loading branch information
lukelyyeung committed Oct 7, 2023
1 parent 07ceb90 commit efb3b34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web_complete/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function createPassClass(req, res) {
'firstValue': {
'fields': [
{
'fieldPath': 'object.textModulesData["points"]'
'fieldPath': "object.textModulesData['points']"
}
]
}
Expand All @@ -57,7 +57,7 @@ async function createPassClass(req, res) {
'firstValue': {
'fields': [
{
'fieldPath': 'object.textModulesData["contacts"]'
'fieldPath': "object.textModulesData['contacts']"
}
]
}
Expand All @@ -73,7 +73,7 @@ async function createPassClass(req, res) {
'firstValue': {
'fields': [
{
'fieldPath': 'class.imageModulesData["event_banner"]'
'fieldPath': "class.imageModulesData['event_banner']"
}
]
}
Expand All @@ -84,7 +84,7 @@ async function createPassClass(req, res) {
'firstValue': {
'fields': [
{
'fieldPath': 'class.textModulesData["game_overview"]'
'fieldPath': "class.textModulesData['game_overview']"
}
]
}
Expand All @@ -95,7 +95,7 @@ async function createPassClass(req, res) {
'firstValue': {
'fields': [
{
'fieldPath': 'class.linksModuleData.uris["official_site"]'
'fieldPath': "class.linksModuleData.uris['official_site']"
}
]
}
Expand Down

0 comments on commit efb3b34

Please sign in to comment.