Type fix.
This commit is contained in:
parent
1d695be77c
commit
a2f11f17fd
|
@ -21,7 +21,8 @@ export async function getRow(
|
||||||
? IncludeRelationship.INCLUDE
|
? IncludeRelationship.INCLUDE
|
||||||
: IncludeRelationship.EXCLUDE,
|
: IncludeRelationship.EXCLUDE,
|
||||||
})
|
})
|
||||||
return response ? response[0] : response
|
const rows = response?.rows || []
|
||||||
|
return rows[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function save(
|
export async function save(
|
||||||
|
|
Loading…
Reference in New Issue