feat: colors for card tags
This commit is contained in:
		@@ -61,3 +61,14 @@ async def switch_tag(
 | 
			
		||||
        request: SwitchTagRequest,
 | 
			
		||||
):
 | 
			
		||||
    return await CardTagService(session).switch_tag(request)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@card_tag_router.get(
 | 
			
		||||
    '/colors',
 | 
			
		||||
    response_model=GetTagColorsResponse,
 | 
			
		||||
    operation_id='get_colors',
 | 
			
		||||
)
 | 
			
		||||
async def get_colors(
 | 
			
		||||
        session: Annotated[AsyncSession, Depends(get_session)],
 | 
			
		||||
):
 | 
			
		||||
    return await CardTagService(session).get_tag_colors()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user