This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • Luke Duncalfe's avatar
    Add service classes for mutating AwardEmoji · 1ac01388e243
    Luke Duncalfe authored
    Adding, destroying and toggling emoji previously lacked services and
    instead were performed through methods called on Awardable models.
    This led to inconsistencies where relevant todos would be marked as done
    only when emoji were awarded through our controllers, but not through
    the API. Todos could also be marked as done when an emoji was being
    Behaviour changes
    - Awarding emoji through the API will now mark a relevant Todo as done
    - Toggling an emoji off (destroying it) through our controllers will no
      longer mark a relevant Todo as done
award_emoji.rb 1.75 KB