Skip to content

Commit

Permalink
Fix typos (re)qeust -> (re)quest (#1111)
Browse files Browse the repository at this point in the history
This fixes a few typos in doc comments and one log message I noticed
when playing on 3.10.5 (restarting The Guide and Psycho Sniper).
The typo remains in a class name, but I'll leave it to someone with more
authority to change it unless requested.


https://github.com/sp-tarkov/server/blob/9f494859bd7d9cb18be3f276ccf655a0ff4dfd67/project/src/models/eft/trade/IProcessRagfairTradeRequestData.ts#L12
  • Loading branch information
chompDev authored Feb 16, 2025
2 parents e160724 + 0a486d1 commit ca4810c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project/src/controllers/HideoutController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export class HideoutController {
* Handle HideoutPutItemsInAreaSlots
* Create item in hideout slot item array, remove item from player inventory
* @param pmcData Profile data
* @param addItemToHideoutRequest reqeust from client to place item in area slot
* @param addItemToHideoutRequest request from client to place item in area slot
* @param sessionID Session id
* @returns IItemEventRouterResponse object
*/
Expand Down
2 changes: 1 addition & 1 deletion project/src/controllers/InventoryController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ export class InventoryController {
* Bind an inventory item to the quick access menu at bottom of player screen
* Handle bind event
* @param pmcData Player profile
* @param bindRequest Reqeust object
* @param bindRequest Request object
* @param sessionID Session id
* @returns IItemEventRouterResponse
*/
Expand Down
2 changes: 1 addition & 1 deletion project/src/controllers/ProfileController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class ProfileController {

/**
* Handle client/game/profile/create
* @param info Client reqeust object
* @param info Client request object
* @param sessionID Player id
* @returns Profiles _id value
*/
Expand Down
4 changes: 2 additions & 2 deletions project/src/controllers/QuestController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class QuestController {
for (const condition of questConditions) {
if (pmcData.TaskConditionCounters[condition.id]) {
this.logger.error(
`Unable to add new task condition counter: ${condition.conditionType} for qeust: ${questId} to profile: ${pmcData.sessionId} as it already exists:`,
`Unable to add new task condition counter: ${condition.conditionType} for quest: ${questId} to profile: ${pmcData.sessionId} as it already exists:`,
);
}

Expand Down Expand Up @@ -476,7 +476,7 @@ export class QuestController {
/**
* Handle /client/game/profile/items/moving - QuestFail
* @param pmcData Pmc profile
* @param request Fail qeust request
* @param request Fail quest request
* @param sessionID Session id
* @returns IItemEventRouterResponse
*/
Expand Down

0 comments on commit ca4810c

Please sign in to comment.