Subscribie / subscribie

Collect recurring payments online - subscription payments collection automation
https://subscribie.co.uk
Mozilla Public License 2.0
56 stars 20 forks source link

Bugfix admin/recent-subscription-cancellations #1330

Closed chrisjsimpson closed 6 months ago

chrisjsimpson commented 6 months ago

Is your feature request related to a problem? Please describe.

Traceback (most recent call last):                                                                                                                                                            
subscribie/subscribie/blueprints/admin/__init__.py", line 1325, in show_recent_subscription_cancellations                          
    .one()                                                                                                                                                                                    
     ^^^^^                                                                                                                                                                                    
...
sqlalchemy/engine/result.py", line 760, in _only_one_row                             
    raise exc.NoResultFound(                                                                                                                                                                  
sqlalchemy.exc.NoResultFound: No row was found when one was required    

Describe the solution you'd like

Describe alternatives you've considered

Additional context https://github.com/Subscribie/subscribie/pull/1327/files#diff-d522f35350cf7d1b0e39fe53061c8d3a250867a681d72a96aeb94d4fd47be71eR599