Restore delivery validation by fixing complex database joins

Fix delivery validation errors in production by simplifying SQL joins in the getDelivery function and handling user data loading separately.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/7c468936-2a88-4686-ac0a-84921a45222d/ce6DSX9
This commit is contained in:
michaelschal committed 2025-08-13 14:46:08 +00:00
1 parent a55f75a438
commit c9cb1ad23e
4 files changed
+37 -25

No files matched your search

+1
View File
@@ -2,3 +2,4 @@
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_localhost FALSE / FALSE 1755182702 connect.sid s%3A3XHFP4ru6uqAeb-mH-T_qR0gTEUrkkiX.ZFy9fYE1%2FhvS3Wed38E8WByXIdEG%2B3UKsUe3i7%2BGwPQ