Skip to content

Commit

Permalink
fix(api): make link an optional parameter (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
schultztimothy authored Aug 3, 2023
1 parent 42522c8 commit bf83726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/passport_admin/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import List
from typing import List, Optional

from ceramic_cache.api import JWTDidAuth
from django.db.models import Subquery
Expand All @@ -16,7 +16,7 @@ def get_address(did: str):

class Banner(Schema):
content: str
link: str
link: Optional[str] = None
banner_id: int


Expand Down

0 comments on commit bf83726

Please sign in to comment.