Skip to content

Commit

Permalink
Adding lastUpdatedAt block correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishikesh-Thakkar committed Jan 31, 2024
1 parent c050b24 commit 27af942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airstack-modules/modules/airstack/social/social.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1611,13 +1611,15 @@ export function trackSocialProfileHandleTransferTransaction(
constructor(public name: string, public value: string) {}
}
function saveAirSocialProfile(airSocialProfile: AirSocialProfile, airBlock: AirBlock): void {
airSocialProfile.lastUpdatedAt = airBlock.id
airSocialProfile.lastUpdatedIndex = updateAirEntityCounter(
AIR_SOCIAL_PROFILE_ENTITY_LAST_UPDATED_INDEX_COUNTER_ID,
airBlock
)
airSocialProfile.save()
}
function saveAirSocialUser(airSocialUser: AirSocialUser, airBlock: AirBlock): void {
airSocialUser.lastUpdatedAt = airBlock.id
airSocialUser.lastUpdatedIndex = updateAirEntityCounter(
AIR_SOCIAL_USER_ENTITY_LAST_UPDATED_INDEX_COUNTER_ID,
airBlock
Expand Down

0 comments on commit 27af942

Please sign in to comment.