From 34f2150144ad0936611d25d04b7fc47b5c727b35 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 28 Aug 2024 13:24:11 -0400 Subject: [PATCH] switching instruments.name, not instruemnts.instrument --- server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.cpp b/server.cpp index 35e3ada..f5d3303 100644 --- a/server.cpp +++ b/server.cpp @@ -101,7 +101,7 @@ int main() while (res->next()) { int id = res->getInt("id"); string instrument = res->getString("name"); - entries[i] = {{"id", id}, {"instrument", instrument}}; + entries[i] = {{"id", id}, {"name", instrument}}; i++; }