返回提交历史
Modified
src/controllers/api/giftingController.ts
+2
-2
XFEstudio/XFESpaceNinjaServer
chore: handle gifting request from u18 (#3564)
Closes #3561 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3564 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
c7d1c68c
代码差异
1 个文件
+2
-2
@@ -96,7 +96,7 @@ export const giftingController: RequestHandler = async (req, res) => {
96
96
data.PurchaseParams.Quantity,
97
97
data.PurchaseParams.Durability,
98
98
data.PurchaseParams.UsePremium,
99
data.buildLabel
99
data.buildLabel ?? senderAccount.BuildLabel!
100
100
);
101
101
}
102
102
updateCurrency(
@@ -150,5 +150,5 @@ interface IGiftingRequest {
150
150
Message?: string;
151
151
Recipient?: string;
152
152
RecipientId?: IOid;
153
buildLabel: string;
153
buildLabel?: string; // not provided in U18
154
154
}