mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-26 00:50:30 +00:00
Fix enum to int migration
This commit is contained in:
parent
f663f56946
commit
c8d213a9ef
1 changed files with 2 additions and 2 deletions
|
@ -238,10 +238,10 @@ func notificationEnumMapping[T ~string]() map[T]new_gtsmodel.NotificationType {
|
||||||
T(old_gtsmodel.NotificationFollowRequest): new_gtsmodel.NotificationFollowRequest,
|
T(old_gtsmodel.NotificationFollowRequest): new_gtsmodel.NotificationFollowRequest,
|
||||||
T(old_gtsmodel.NotificationMention): new_gtsmodel.NotificationMention,
|
T(old_gtsmodel.NotificationMention): new_gtsmodel.NotificationMention,
|
||||||
T(old_gtsmodel.NotificationReblog): new_gtsmodel.NotificationReblog,
|
T(old_gtsmodel.NotificationReblog): new_gtsmodel.NotificationReblog,
|
||||||
T(old_gtsmodel.NotificationFave): new_gtsmodel.NotificationFave,
|
T(old_gtsmodel.NotificationFave): new_gtsmodel.NotificationFavourite,
|
||||||
T(old_gtsmodel.NotificationPoll): new_gtsmodel.NotificationPoll,
|
T(old_gtsmodel.NotificationPoll): new_gtsmodel.NotificationPoll,
|
||||||
T(old_gtsmodel.NotificationStatus): new_gtsmodel.NotificationStatus,
|
T(old_gtsmodel.NotificationStatus): new_gtsmodel.NotificationStatus,
|
||||||
T(old_gtsmodel.NotificationSignup): new_gtsmodel.NotificationSignup,
|
T(old_gtsmodel.NotificationSignup): new_gtsmodel.NotificationAdminSignup,
|
||||||
T(old_gtsmodel.NotificationPendingFave): new_gtsmodel.NotificationPendingFave,
|
T(old_gtsmodel.NotificationPendingFave): new_gtsmodel.NotificationPendingFave,
|
||||||
T(old_gtsmodel.NotificationPendingReply): new_gtsmodel.NotificationPendingReply,
|
T(old_gtsmodel.NotificationPendingReply): new_gtsmodel.NotificationPendingReply,
|
||||||
T(old_gtsmodel.NotificationPendingReblog): new_gtsmodel.NotificationPendingReblog,
|
T(old_gtsmodel.NotificationPendingReblog): new_gtsmodel.NotificationPendingReblog,
|
||||||
|
|
Loading…
Reference in a new issue