This commit is contained in:
@@ -17,7 +17,7 @@ class StoryArcResponse(BaseModel):
|
||||
class AddLink(BaseModel):
|
||||
url: str
|
||||
|
||||
def to_response(storyarc: StoryArc) -> StoryArcResponse:
|
||||
def storyarc_to_response(storyarc: StoryArc) -> StoryArcResponse:
|
||||
response: StoryArcResponse = StoryArcResponse(
|
||||
id=storyarc.id,
|
||||
created_date=storyarc.created_date,
|
||||
|
||||
Reference in New Issue
Block a user