Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TunahanGuler authored and fniessink committed Jan 15, 2025
1 parent 140e0e0 commit cdfda28
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from collector_utilities.date_time import datetime_from_timestamp
from collector_utilities.exceptions import NotFoundError
from collector_utilities.type import URL
from dateutil.tz import tzutc
from model import SourceResponses

from .base import BitbucketProjectBase
Expand Down Expand Up @@ -55,7 +54,7 @@ async def _branches(self, responses: SourceResponses) -> list[BitbucketBranchTyp
name=branch["displayId"],
default=branch["isDefault"],
last_commit=datetime_from_timestamp(
branch["metadata"][metadata]["committerTimestamp"] / 1e3
branch["metadata"][metadata]["committerTimestamp"]
),
id=branch["id"],
)
Expand Down

0 comments on commit cdfda28

Please sign in to comment.