From 4e2c9ce3ecc4698e24af74620acbca2fd698cd19 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Sun, 3 Apr 2022 17:08:55 -0400 Subject: [PATCH] Set user type to msa for msft accounts. --- app/assets/js/processbuilder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/js/processbuilder.js b/app/assets/js/processbuilder.js index a0f0a73..bf907c3 100644 --- a/app/assets/js/processbuilder.js +++ b/app/assets/js/processbuilder.js @@ -468,7 +468,7 @@ class ProcessBuilder { val = this.authUser.accessToken break case 'user_type': - val = 'mojang' + val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang' break case 'version_type': val = this.versionData.type @@ -566,7 +566,7 @@ class ProcessBuilder { val = this.authUser.accessToken break case 'user_type': - val = 'mojang' + val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang' break case 'user_properties': // 1.8.9 and below. val = '{}'