Hacker News new | ask | show | jobs
by luhego 2163 days ago
A decorator that checks if the user is logged before running a GraphQL mutation.

@login_required

def mutate(...):