v1.2.41 - Fix IP Bans page: route ip_bans SQL responses to handleIpBansResponse
This commit is contained in:
@@ -5568,6 +5568,12 @@ function handleSqlQueryResponse(response) {
|
||||
console.log('=== HANDLING SQL QUERY RESPONSE ===');
|
||||
console.log('Response:', response);
|
||||
|
||||
// Route IP bans queries to the IP bans handler
|
||||
if (response.query && response.query.includes('ip_bans')) {
|
||||
handleIpBansResponse(response);
|
||||
return;
|
||||
}
|
||||
|
||||
// Always display SQL query results when received
|
||||
displaySqlQueryResults(response);
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
+2
-2
@@ -13,8 +13,8 @@
|
||||
// Using CRELAY_ prefix to avoid conflicts with nostr_core_lib VERSION macros
|
||||
#define CRELAY_VERSION_MAJOR 1
|
||||
#define CRELAY_VERSION_MINOR 2
|
||||
#define CRELAY_VERSION_PATCH 40
|
||||
#define CRELAY_VERSION "v1.2.40"
|
||||
#define CRELAY_VERSION_PATCH 41
|
||||
#define CRELAY_VERSION "v1.2.41"
|
||||
|
||||
// Relay metadata (authoritative source for NIP-11 information)
|
||||
#define RELAY_NAME "C-Relay"
|
||||
|
||||
Reference in New Issue
Block a user