mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Hot Fix] Fix Bot Data Repository (#2618)
* [Hot Fix] Fix Bot Data Repository Query was in wrong order. * Update base_repository.template
This commit is contained in:
parent
423e6ae751
commit
a9c161011e
@ -301,8 +301,8 @@ public:
|
||||
auto results = db.QueryDatabase(
|
||||
fmt::format(
|
||||
"{} WHERE {} = {} LIMIT 1",
|
||||
PrimaryKey(),
|
||||
BaseSelect(),
|
||||
PrimaryKey(),
|
||||
bot_data_id
|
||||
)
|
||||
);
|
||||
|
||||
@ -105,8 +105,8 @@ public:
|
||||
auto results = db.QueryDatabase(
|
||||
fmt::format(
|
||||
"{} WHERE {} = {} LIMIT 1",
|
||||
PrimaryKey(),
|
||||
BaseSelect(),
|
||||
PrimaryKey(),
|
||||
{{TABLE_NAME_VAR}}_id
|
||||
)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user