[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
This commit is contained in:
Fryguy 2024-03-31 23:41:15 -04:00 committed by GitHub
parent 72ce7c8e91
commit 42bfa4bb2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
)
);