fix: adopted_api_key_id konsistent als string key_id statt numerischer rowid
- CreateApiKey() gibt jetzt string key_id zurück statt long rowid - SetScannedKeyAdopted() erwartet string statt long - DeleteApiKey() direkter Vergleich statt Subquery - DB-Explorer: PageSize Default auf 1000 erhöht
This commit is contained in:
1 parent
ce50633e33
commit
e1a9117b4a
3 files changed
+7
-7
No files matched your search
@@ -66,10 +66,10 @@ public static class DatabaseExplorerEndpoint
|
||||
|
||||
// Pagination
|
||||
var page = 1;
|
||||
var pageSize = 100;
|
||||
var pageSize = 1000;
|
||||
if (ctx.Request.Query.TryGetValue("page", out var pageStr) && int.TryParse(pageStr, out var p) && p > 0)
|
||||
page = p;
|
||||
if (ctx.Request.Query.TryGetValue("pageSize", out var psStr) && int.TryParse(psStr, out var ps) && ps > 0 && ps <= 500)
|
||||
if (ctx.Request.Query.TryGetValue("pageSize", out var psStr) && int.TryParse(psStr, out var ps) && ps > 0 && ps <= 10000)
|
||||
pageSize = ps;
|
||||
|
||||
var offset = (page - 1) * pageSize;
|
||||
|
||||
Reference in new issue
Block a user