mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Add store logo
This commit is contained in:
parent
61f37368f4
commit
61722fa099
@ -59,6 +59,7 @@ public class AppUserStoreInfo
|
||||
{
|
||||
public string? Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? LogoUrl { get; set; }
|
||||
public string? RoleId { get; set; }
|
||||
public string? PosAppId { get; set; }
|
||||
public string? DefaultCurrency { get; set; }
|
||||
|
@ -274,7 +274,10 @@ public partial class AppApiController
|
||||
RoleId = userStore.StoreRole.Id,
|
||||
PosAppId = posApp?.Id,
|
||||
DefaultCurrency = storeBlob.DefaultCurrency,
|
||||
Permissions = userStore.StoreRole.Permissions
|
||||
Permissions = userStore.StoreRole.Permissions,
|
||||
LogoUrl = storeBlob.LogoUrl != null
|
||||
? await uriResolver.Resolve(Request.GetAbsoluteRootUri(), storeBlob.LogoUrl)
|
||||
: null,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user