From f4e21268b4b85442158c1d0d4c50f0f03cd85de8 Mon Sep 17 00:00:00 2001 From: PizzaBiceps <122170622+PizzaBiceps@users.noreply.github.com> Date: Thu, 7 Mar 2024 11:49:03 +0000 Subject: [PATCH] fix: raise emote slots to 1000 --- internal/api/gql/v3/resolvers/mutation/mutation.emoteset.go | 2 +- internal/api/rest/v2/routes/auth/youtube.verify.go | 2 +- internal/api/rest/v3/routes/auth/auth.route.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/api/gql/v3/resolvers/mutation/mutation.emoteset.go b/internal/api/gql/v3/resolvers/mutation/mutation.emoteset.go index 85e33b9a..cd4df7b7 100644 --- a/internal/api/gql/v3/resolvers/mutation/mutation.emoteset.go +++ b/internal/api/gql/v3/resolvers/mutation/mutation.emoteset.go @@ -32,7 +32,7 @@ func (r *Resolver) CreateEmoteSet(ctx context.Context, userID primitive.ObjectID SetName(input.Name). SetPrivileged(isPrivileged). SetOwnerID(userID). - SetCapacity(300) + SetCapacity(1000) // Execute mutation if err := r.Ctx.Inst().Mutate.CreateEmoteSet(ctx, b, mutate.EmoteSetMutationOptions{ diff --git a/internal/api/rest/v2/routes/auth/youtube.verify.go b/internal/api/rest/v2/routes/auth/youtube.verify.go index 59014115..37d7d4aa 100644 --- a/internal/api/rest/v2/routes/auth/youtube.verify.go +++ b/internal/api/rest/v2/routes/auth/youtube.verify.go @@ -87,7 +87,7 @@ func (r *youtubeVerify) Handler(ctx *rest.Ctx) rest.APIError { ID: channel.Id, Platform: structures.UserConnectionPlatformYouTube, LinkedAt: time.Now(), - EmoteSlots: 600, + EmoteSlots: 1000, EmoteSetID: tw.EmoteSetID, // infer set from twitch conn if it exists }).SetID(channel.Id). SetPlatform(structures.UserConnectionPlatformYouTube). diff --git a/internal/api/rest/v3/routes/auth/auth.route.go b/internal/api/rest/v3/routes/auth/auth.route.go index e70ee2e4..2ca1fc91 100644 --- a/internal/api/rest/v3/routes/auth/auth.route.go +++ b/internal/api/rest/v3/routes/auth/auth.route.go @@ -287,7 +287,7 @@ func formatUserConnection(id string, platform structures.UserConnectionPlatform, ID: id, Platform: platform, LinkedAt: time.Now(), - EmoteSlots: 600, + EmoteSlots: 1000, Data: b, Grant: &structures.UserConnectionGrant{ AccessToken: grant.AccessToken,