Skip to content

Commit

Permalink
refactor(server): more permissive parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Jan 6, 2024
1 parent 861389d commit 099ecdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.21)
project(venmic LANGUAGES CXX VERSION 3.2.0)
project(venmic LANGUAGES CXX VERSION 3.2.1)

# --------------------------------------------------------------------------------------------------------
# Library options
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"private": false,
"license": "MIT",
"author": "Curve (https://github.com/Curve)",
"version": "3.2.0",
"version": "3.2.1",
"main": "./lib/index.js",
"types": "./lib/module.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion server/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int main(int argc, char **args)
{
vencord::link_options parsed;

auto error = glz::read<glz::opts{.error_on_missing_keys = true}>(parsed, req.body);
const auto error = glz::read_json(parsed, req.body);

if (error)
{
Expand Down

0 comments on commit 099ecdd

Please sign in to comment.