mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 22:29:15 +02:00
8 lines
210 B
Python
8 lines
210 B
Python
from funkwhale_api.taskapp import celery
|
|
|
|
from oauth2_provider import models as oauth2_models
|
|
|
|
|
|
@celery.app.task(name="oauth.clear_expired_tokens")
|
|
def clear_expired_tokens():
|
|
oauth2_models.clear_expired()
|