Skip to content

Conversation

@sawyerb-ksu
Copy link

@sawyerb-ksu sawyerb-ksu commented Oct 10, 2025

Adds a check for blank strings "" within the session activities objects to correct issues such as:

...
{
    "timestamp": 1758644704,
    "location": 53,
    "activities": [
        62,
        ""
    ],
    "number": 1
},
...

When a blank string is passed in the activities array, it creates a 500 error on the server and the database transaction cannot complete. This change sanitizes/removes blank strings from the data to prevent this error.

Addresses Issue #164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant