Type fix.

This commit is contained in:
mike12345567 2024-07-31 16:31:02 +01:00
parent 1d695be77c
commit a2f11f17fd
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ export async function getRow(
? IncludeRelationship.INCLUDE
: IncludeRelationship.EXCLUDE,
})
return response ? response[0] : response
const rows = response?.rows || []
return rows[0]
}
export async function save(