add a lot of changes
This commit is contained in:
@@ -58,7 +58,8 @@ exports.verifyGuestToken = async (req, res, next) => {
|
||||
|
||||
// Attach guest session to request
|
||||
req.guestSession = guestSession;
|
||||
req.guestId = decoded.guestId;
|
||||
req.guestId = decoded.guestId; // The guest_id string for display/logging
|
||||
req.guestSessionId = guestSession.id; // The UUID for database foreign keys
|
||||
|
||||
next();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user