diff --git a/Sources/VRCKit/Models/Favorite/FavoriteGroupModel.swift b/Sources/VRCKit/Models/Favorite/FavoriteGroupModel.swift index 9021843..01a0c62 100644 --- a/Sources/VRCKit/Models/Favorite/FavoriteGroupModel.swift +++ b/Sources/VRCKit/Models/Favorite/FavoriteGroupModel.swift @@ -35,3 +35,9 @@ public struct FavoriteGroupParams: Sendable { public let name: String public let userId: String } + +public extension FavoriteGroupParams { + init(favoriteGroup source: FavoriteGroup) { + self.init(type: source.type, name: source.name, userId: source.ownerId) + } +}