Update PS reference, dev link, remove IO EVent, add token refresh before mix data.

This commit is contained in:
Patrick Fic
2022-06-28 16:23:10 -07:00
parent 4ec2bb82eb
commit 20804d4240
5 changed files with 6 additions and 2 deletions

View File

@@ -140,6 +140,8 @@ v_paint_codes
RestRequest request = new RestRequest("/mixdata/upload",Method.Post);
//Check whether to update the token first.
await Utils.Auth.Refresh();
request.AddHeader("Authorization", "Bearer " + Utils.Auth.authlink.FirebaseToken);
request.AddFile("file", Path.Combine(Properties.Settings.Default.PaintScaleImportPath, fileName));