Merge branch 'master' into feat/pc-ts-conversions-2

This commit is contained in:
Peter Clement 2025-03-12 13:22:54 +00:00 committed by GitHub
commit 495a452122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "3.5.0",
"version": "3.5.1",
"npmClient": "yarn",
"concurrency": 20,
"command": {

View File

@ -31,10 +31,12 @@
let attachRequest = new FormData()
attachRequest.append("file", signatureFile)
const resp = await API.uploadAttachment(
formContext?.dataSource?.tableId,
attachRequest
)
let sourceId = formContext?.dataSource?.tableId
if (formContext?.dataSource?.type === "viewV2") {
sourceId = formContext.dataSource.id
}
const resp = await API.uploadAttachment(sourceId, attachRequest)
const [signatureAttachment] = resp
updateValue = signatureAttachment
} else {