mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
small tweaks
This commit is contained in:
@@ -2006,7 +2006,7 @@ def reset_food_inheritance(request):
|
||||
|
||||
@api_view(['GET'])
|
||||
# @schema(AutoSchema()) #TODO add proper schema
|
||||
@permission_classes([CustomIsAdmin & CustomTokenHasReadWriteScope])
|
||||
@permission_classes([CustomIsGuest & CustomTokenHasReadWriteScope])
|
||||
# TODO add rate limiting
|
||||
def switch_active_space(request, space_id):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user