mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
we have GEODE_STR already
This commit is contained in:
parent
ba91dfa6a4
commit
41102fee4a
1 changed files with 1 additions and 4 deletions
|
@ -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": "" }`
|
||||
|
|
Loading…
Reference in a new issue