Skip to content

Return payload from Discord notification helper #375

@nirmal-mina

Description

@nirmal-mina

Summary

Fixes get_discord_payload_v0() in scripts/notify.py.

The function builds a payload object but returns without returning the payload. This causes the helper to return None if used later.

Changes

  • Replace bare return with return payload.

Testing

  • Verified the helper returns the constructed payload object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions