Describe the bug
The saving feature in the Rapid Router levels is broken. Users can no longer save a workspace (program) for later use. This is quite disruptive as it seems to be a highly used feature.
To Reproduce
Steps to reproduce the behaviour:
Login as any user.
Go to any Rapid Router level.
Make a program by attaching any blocks to the Start block.
Open the "Save" tab, enter a name for your workspace and click "Save".
Notice that you get an error message and the saving fails.
Expected behaviour
The workspace should successfully be saved and added to the lists of workspaces that you can then load using the Load tab.
Screenshots
Additional context
There are a few errors that could be a good place to start understanding why this is happening:
the two errors in the browser dev tools when submitting the Save request
Describe the bug The saving feature in the Rapid Router levels is broken. Users can no longer save a workspace (program) for later use. This is quite disruptive as it seems to be a highly used feature.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour The workspace should successfully be saved and added to the lists of workspaces that you can then load using the Load tab.
Screenshots![Screenshot from 2024-01-18 17-25-10](https://github.com/ocadotechnology/rapid-router/assets/33633200/3cafb7e7-a079-4953-a94c-2a443da366d8)
Additional context There are a few errors that could be a good place to start understanding why this is happening:
Analysis of the Python exception stack trace seems to indicate that this bug might have been introduce by this commit.