Skip to content

interpret lichess reply to sending dms correctly #698

@glbert-does

Description

@glbert-does

in this line:

if result != 'ok':
logger.error('Error sending mail: %s' % result)

we check whether the lichess reply is "ok". however, the actual lichess reply for a successful message is not simply "ok", but the json '{"ok": true}'.
this leads to a lot of error messages Error sending mail: {"ok":true} in our log.

Metadata

Metadata

Assignees

Labels

P3 - lowMinor improvement to league experience (small ui glitch, spelling error, etc.)buggood first issue

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions