mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 10:16:43 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
3233786616
commit
44a251cb16
2 changed files with 2 additions and 10 deletions
|
|
@ -98,12 +98,13 @@ Deno.serve(async (req) => {
|
|||
409,
|
||||
);
|
||||
}
|
||||
if (agent.status === "suspended" || agent.status === "error") {
|
||||
if (agent.status === "suspended") {
|
||||
return jsonResponse(
|
||||
{ error: "Agente suspenso. Regularize sua assinatura antes de conectar o Telegram." },
|
||||
403,
|
||||
);
|
||||
}
|
||||
// status='error' por falta de token anterior é recuperável — apenas seguimos.
|
||||
|
||||
// 4) Verifica unicidade do bot username (em outro agent_instance)
|
||||
const { data: conflict } = await admin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue