This should be fine actually
This commit is contained in:
@@ -39,14 +39,6 @@ export async function handler (context: Context) {
|
||||
const userId = authResult.id
|
||||
|
||||
const body = context.body as Body
|
||||
if (!body.saveData) {
|
||||
connection0.end()
|
||||
connection1.end()
|
||||
return jsonResponse(
|
||||
{ success: false, message: 'No valid save data provided' },
|
||||
400
|
||||
)
|
||||
}
|
||||
|
||||
let userSaveData: any = {}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user