we have GEODE_STR already

This commit is contained in:
matcool 2024-02-26 22:59:06 -03:00
parent ba91dfa6a4
commit 41102fee4a

View file

@ -4,10 +4,7 @@
using namespace server;
// Helpers for getting current GD version as a string for URL params
#define GEODE_GD_VERSION_STRINGIFY(version) # version
#define GEODE_GD_VERSION_STRINGIFY_2(version) GEODE_GD_VERSION_STRINGIFY(version)
#define GEODE_GD_VERSION_STR GEODE_GD_VERSION_STRINGIFY_2(GEODE_GD_VERSION)
#define GEODE_GD_VERSION_STR GEODE_STR(GEODE_GD_VERSION)
static void parseServerError(auto reject, auto error) {
// The server should return errors as `{ "error": "...", "payload": "" }`