Skip to content
All|Bugs|Features|Changelog|Mod log
Sign in
AllBugsFeaturesChangelogSearchNew post
Sign in with Fluxer
Bugs
CommentsHistory
Bugs

api: `audit-log` endpoint does not work with bot tokens

(#245) Bug Fixed api
7mo agoby RexSystem edited originally by @pekempy on GitHub

Thread

View full discussion
Comment by @BenjaminUrquhart
RexSystem 1 vote 7mo ago originally by @BenjaminUrquhart on GitHub
Looking through how things are handled, it seems the audit-log endpoint uses an auth mode that explicitly disallows bot users. https://github.com/fluxerapp/fluxer/blob/4f5704fa1f6426d65a12ee5fef13c0104669d08e/packages/api/src/guild/controllers/GuildAuditLogController.tsx#L35 https://github.com/fluxerapp/fluxer/blob/4f5704fa1f6426d65a12ee5fef13c0104669d08e/packages/api/src/middleware/AuthMiddleware.tsx#L57-L66
Permalink
Report a bug Request a feature
Status
Fixed changed 7mo ago
Type
Bug
Tags
api
Votes
4 +4 from GitHub
Source
fluxerapp/fluxer#415
Moderation history 3
  1. Rex edited #245
    • Changed: Description
    Reason: Removed empty sections and checklists left over from the GitHub issue form. The text written by the author is unchanged.
    1d ago
  2. Rex edited a comment on #245
    Reason: Changed GitHub profile links in mentions into plain names or profiles here.
    1d ago
  3. Rex retagged #245
    • Tags added: api
    Reason: Tagged by area.
    1d ago
Search Changelog Releases Mod log Code of conduct Report a problem with this site Atom feed
Theme