fix(all): Create bot working again.
This commit is contained in:
parent
182d6c4ac8
commit
3fa53d072b
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ export class GBAdminService implements IGBAdminService {
|
|||
|
||||
public async setValue(instanceId: number, key: string, value: string) {
|
||||
const options = <FindOptions>{ where: {} };
|
||||
options.where = { key: key };
|
||||
options.where = { key: key, instanceId: instanceId };
|
||||
let admin = await GuaribasAdmin.findOne(options);
|
||||
if (admin === null) {
|
||||
admin = new GuaribasAdmin();
|
||||
|
|
Loading…
Add table
Reference in a new issue