mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Use real backend
This commit is contained in:
1 parent
428bbd73e3
commit
1c07bef3cf
8 files changed
+43
-30
No files matched your search
@@ -5,6 +5,7 @@ using System.Reactive.Disposables;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Artemis.UI.Shared;
|
||||
using Artemis.WebClient.Workshop;
|
||||
using Artemis.WebClient.Workshop.Services;
|
||||
using Avalonia.Media.Imaging;
|
||||
using Flurl.Http;
|
||||
@@ -94,7 +95,7 @@ public class CurrentUserViewModel : ActivatableViewModelBase
|
||||
{
|
||||
try
|
||||
{
|
||||
Avatar = new Bitmap(await $"{IAuthenticationService.AUTHORITY}/user/avatar/{userId}".GetStreamAsync());
|
||||
Avatar = new Bitmap(await $"{WorkshopConstants.AUTHORITY_URL}/user/avatar/{userId}".GetStreamAsync());
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user