fix(feishu): commit findByFeishuUserId repository method (missed)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9e906367f6
commit
042e49988c
|
|
@ -31,6 +31,10 @@ export class AgentInstanceRepository {
|
|||
return this.repo.findOne({ where: { dingTalkUserId, status: Not('removed') } as any });
|
||||
}
|
||||
|
||||
findByFeishuUserId(feishuUserId: string): Promise<AgentInstance | null> {
|
||||
return this.repo.findOne({ where: { feishuUserId, status: Not('removed') } as any });
|
||||
}
|
||||
|
||||
save(instance: AgentInstance): Promise<AgentInstance> {
|
||||
return this.repo.save(instance);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue