79348299

Date: 2025-01-11 14:47:19
Score: 0.5
Natty:
Report link

Just a quick follow-up and thank you to all that tried to help . . .

Not today, but soon I will upgrade my local Postgres from v14.4 to the latest v17.2. Maybe that will correct it.

Today, I did upgrade ExpressJS on my server from 4.18.1 to 4.21.2.

In the client code, I'm performing this on-the-fly conversion:

const newSession: SessionType = {
  ...sessionContainer.state,
    user: {
      ...userData,
      maxBytes: Number(userData.maxBytes),
      byteCount: Number(userData.byteCount)
    }
  };

  sessionContainer.setState(newSession);
};

And indeed, the two values in question are correctly being converted from strings to numbers.

Once again, thank you all for your great help!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RobertW