fix: update RPC calls to use company_id instead of user_id for invoice and arrival number generation (#154)

This commit is contained in:
Mattsson
2026-03-31 17:34:51 +02:00
committed by GitHub
parent 0dd1f5ebc1
commit fad4899cb4
14 changed files with 23 additions and 15 deletions
+1
View File
@@ -91,6 +91,7 @@ export async function uploadDocument(
.from('document_attachments')
.insert({
user_id: userId,
company_id: companyId,
storage_path: storagePath,
file_name: file.name,
file_size_bytes: file.buffer.byteLength,