chore: code formatting

This commit is contained in:
github-actions[bot]
2022-08-06 19:16:28 +00:00
parent 6c04a1ca5e
commit 7a0771403d
4 changed files with 25 additions and 23 deletions

View File

@@ -70,7 +70,7 @@ export default async function({login, data, imports, graphql, q, queries, accoun
//Format items (v2)
const items = []
if (project.items) {
items.push(...project.items.nodes.map(({type, fieldValues:{nodes:fields}}) => ({type, text:fields.filter(field => field.text).shift()?.text ?? ""})))
items.push(...project.items.nodes.map(({type, fieldValues: {nodes: fields}}) => ({type, text: fields.filter(field => field.text).shift()?.text ?? ""})))
total = project.items.totalCount
}
//Append