mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-11 01:41:05 +00:00
13 lines
286 B
Python
13 lines
286 B
Python
|
from django.http import HttpRequest
|
||
|
from hatchway import api_view
|
||
|
|
||
|
from api import schemas
|
||
|
from api.decorators import scope_required
|
||
|
|
||
|
|
||
|
@scope_required("read:lists")
|
||
|
@api_view.get
|
||
|
def get_lists(request: HttpRequest) -> list[schemas.List]:
|
||
|
# We don't implement this yet
|
||
|
return []
|