mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-05-27 10:32:37 -05:00
Removed unused PNIDgetServerMode method
This commit is contained in:
parent
d821802088
commit
cc62c8dad3
|
|
@ -229,10 +229,6 @@ PNIDSchema.method('generateMiiImages', async function generateMiiImages(): Promi
|
|||
await uploadCDNAsset('pn-cdn', `${userMiiKey}/body.png`, miiStudioBodyImageData, 'public-read');
|
||||
});
|
||||
|
||||
PNIDSchema.method('getServerMode', function getServerMode(): string {
|
||||
return this.get('server_mode') || 'prod';
|
||||
});
|
||||
|
||||
PNIDSchema.method('scrub', async function scrub() {
|
||||
// * Remove all personal info from a PNID
|
||||
// * Username and PID remain so thye do not get assigned again
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ export interface IPNIDMethods {
|
|||
generateEmailValidationToken(): Promise<void>;
|
||||
updateMii(mii: { name: string, primary: string, data: string}): Promise<void>;
|
||||
generateMiiImages(): Promise<void>;
|
||||
getServerMode(): string;
|
||||
scrub(): Promise<void>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user