mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-05 11:37:25 +01:00
[#4999] added Notion OAuth2 provider
Co-authored-by: s-li1 <stevenli8892@hotmail.com.au>
This commit is contained in:
1 parent
64bbd6f841
commit
397b69041e
34 files changed
+178
-37
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user