Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1513

Recommend to followers endpoint returns created in float format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • API
    • None

      POST /1/user/(user_name)/timeline-event/create/recording should return its created in Integer type format but instead its float. This causes issues since rest of the feed events/callbacks return created in Integer format.

      Example:

      {
          "created": 1708261791.18472,
          "event_type": "recording_recommendation",
          "id": 64248,
          "metadata": {
              "recording_mbid": "b517963e-fcf6-4296-8352-aa82c70420ad",
              "recording_msid": null,
              "track_metadata": null
          },
          "user_id": 20873,
          "user_name": null
      }
      

       

      This has also been seen in ListenBrainz Android:

            kartik1712 amCap1712
            daKu Jasjeet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package