File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/tinytower-sdk/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const MigratorLive = Effect.gen(function* () {
5353 return PgMigrator . layer ( { loader } ) ;
5454} ) . pipe ( Layer . unwrapEffect ) ;
5555
56- HttpLayerRouter . serve ( AllRoutes ) . pipe (
56+ HttpLayerRouter . serve ( AllRoutes , { routerConfig : { maxParamLength : 500 } } ) . pipe (
5757 Layer . provide ( Repository . Default ) ,
5858 Layer . provide ( MigratorLive ) ,
5959 Layer . provide ( SqlLive ) ,
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ export const SocialGetGiftsEndpoint = HttpApiEndpoint.get(
386386 ) ;
387387
388388/** @internal */
389- export const SocialReceiveGiftEndpoint = HttpApiEndpoint . post (
389+ export const SocialReceiveGiftEndpoint = HttpApiEndpoint . get (
390390 "SocialReceiveGift"
391391) `/receive_item/tt/${ playerIdParam } /${ giftIdParam } /${ saltParam } /${ hashParam } `
392392 . addSuccess ( ErrorResponse )
Original file line number Diff line number Diff line change @@ -873,7 +873,7 @@ export const social_sendItem = Effect.fn("social_sendItem")(function* ({
873873
874874 const salt = yield * nimblebitAuth . salt ;
875875 const hash = yield * nimblebitAuth . sign (
876- `tt/${ itemType } /${ playerId } /${ salt } ${ itemStr } ${ Redacted . value ( playerAuthKey ) } `
876+ `tt/${ itemType } /${ playerId } /${ friendId } / ${ salt } ${ itemStr } ${ Redacted . value ( playerAuthKey ) } `
877877 ) ;
878878
879879 const response = yield * endpoint ( {
You can’t perform that action at this time.
0 commit comments