Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partner logo url changed to str instead of httpurl type #6777

Merged
merged 1 commit into from
Mar 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/models/dtos/partner_dto.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
from typing import Dict, List, Optional

from pydantic import BaseModel, HttpUrl
from pydantic import BaseModel


class PartnerDTO(BaseModel):
Expand All @@ -14,7 +14,7 @@ class PartnerDTO(BaseModel):
link_x: Optional[str] = None
link_meta: Optional[str] = None
link_instagram: Optional[str] = None
logo_url: Optional[HttpUrl] = None # Ensures it's a valid URL
logo_url: Optional[str] = None
current_projects: Optional[str] = None
permalink: Optional[str] = None
website_links: Optional[List[Dict]] = None
Expand Down