Compare commits
2 commits
7b9e50bde2
...
b3796b98ea
Author | SHA1 | Date | |
---|---|---|---|
b3796b98ea | |||
65d529a99b |
2 changed files with 2 additions and 2 deletions
|
@ -7,5 +7,5 @@ public class PleromaOauthTokenEntity
|
||||||
{
|
{
|
||||||
[J("id")] public required string Id { get; set; }
|
[J("id")] public required string Id { get; set; }
|
||||||
[J("valid_until")] public required DateTime ValidUntil { get; set; }
|
[J("valid_until")] public required DateTime ValidUntil { get; set; }
|
||||||
[J("app_name")] public required string? AppName { get; set; }
|
[J("app_name")] public required string? AppName { get; set; }
|
||||||
}
|
}
|
|
@ -626,7 +626,7 @@ public class User : IIdentifiable
|
||||||
? $"https://{webDomain}{PublicUrlPath}"
|
? $"https://{webDomain}{PublicUrlPath}"
|
||||||
: throw new Exception("Cannot access PublicUrl for remote user");
|
: throw new Exception("Cannot access PublicUrl for remote user");
|
||||||
|
|
||||||
[Projectable] public string PublicUrlPath => $"/@{Username}";
|
[Projectable] public string PublicUrlPath => $"/@{Username}";
|
||||||
|
|
||||||
public string GetIdenticonUrl(string webDomain) => $"https://{webDomain}{IdenticonUrlPath}";
|
public string GetIdenticonUrl(string webDomain) => $"https://{webDomain}{IdenticonUrlPath}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue