[#4999] added Notion OAuth2 provider

Co-authored-by: s-li1 <stevenli8892@hotmail.com.au>
This commit is contained in:
Gani Georgiev
2024-10-10 14:46:22 +03:00
parent 64bbd6f841
commit 397b69041e
34 changed files with 178 additions and 37 deletions

View File

@@ -144,7 +144,7 @@ func (au AuthUser) MarshalJSON() ([]byte, error) {
type alias AuthUser // prevent recursion
au2 := alias(au)
au2.AvatarURL = au.AvatarURL // ensure that the legacy field is populated
au2.AvatarUrl = au.AvatarURL // ensure that the legacy field is populated
return json.Marshal(au2)
}