chore: delete PS field from requests
All checks were successful
Build / build (pull_request) Successful in 1m15s

It clutters the logs, and we don’t use this field anyway
This commit is contained in:
AMelonInsideLemon 2025-09-20 10:34:33 +02:00
parent 05fbefa7f4
commit 973b1d4ca8
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,9 @@ import { JSONParse } from "json-with-bigint";
export const getJSONfromString = <T>(str: string): T => { export const getJSONfromString = <T>(str: string): T => {
const jsonSubstring = str.substring(0, str.lastIndexOf("}") + 1); const jsonSubstring = str.substring(0, str.lastIndexOf("}") + 1);
return JSONParse(jsonSubstring) as T; const obj = JSONParse(jsonSubstring) as T;
if (obj && typeof obj === "object" && "PS" in obj) delete obj.PS;
return obj;
}; };
export const getSubstringFromKeyword = (str: string, keyword: string): string => { export const getSubstringFromKeyword = (str: string, keyword: string): string => {

View File

@ -14,7 +14,6 @@ import type { ITypeCount } from "../types/commonTypes.ts";
export interface IUpdateQuestRequest { export interface IUpdateQuestRequest {
QuestKeys: Omit<IQuestKeyDatabase, "CompletionDate">[]; QuestKeys: Omit<IQuestKeyDatabase, "CompletionDate">[];
PS: string;
questCompletion: boolean; questCompletion: boolean;
PlayerShipEvents: unknown[]; PlayerShipEvents: unknown[];
crossPlaySetting: string; crossPlaySetting: string;

View File

@ -81,7 +81,6 @@ export type IMissionInventoryUpdateRequest = {
hosts: string[]; hosts: string[];
currentClients: unknown[]; currentClients: unknown[];
ChallengeProgress: IChallengeProgress[]; ChallengeProgress: IChallengeProgress[];
PS: string;
ActiveDojoColorResearch: string; ActiveDojoColorResearch: string;
RewardInfo?: IRewardInfo; RewardInfo?: IRewardInfo;
NemesisKillConvert?: { NemesisKillConvert?: {