From 42bfa4bb2e17600bed03cce2c5c77d48f10522b2 Mon Sep 17 00:00:00 2001 From: Fryguy Date: Sun, 31 Mar 2024 23:41:15 -0400 Subject: [PATCH] [Bug Fix] Shared Tasks - charid is now character_id (#4233) ## Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) # Checklist: - [x] I have performed a self-review of my code. Ensuring variables, functions and methods are named in a human-readable way, comments are added only where naming of variables, functions and methods can't give enough context. - [x] I have tested my changes - [x] I own the changes of my code take responsibilities for the potential issues that occur --- common/shared_tasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/shared_tasks.cpp b/common/shared_tasks.cpp index dde9cd874..62b24350c 100644 --- a/common/shared_tasks.cpp +++ b/common/shared_tasks.cpp @@ -60,7 +60,7 @@ SharedTaskRequest SharedTask::GetRequestCharacters(Database &db, uint32_t reques request.group_type = SharedTaskRequestGroupType::Group; auto characters = CharacterDataRepository::GetWhere( db, fmt::format( - "id IN (select charid from group_id where group_id = (select group_id from group_id where charid = {}))", + "id IN (select character_id from group_id where group_id = (select group_id from group_id where character_id = {}))", requested_character_id ) );