PLT-6226 fixing race in IsAuth (#7296)
* Fixing race in isAuth function * PLT-6226 fixing race in IsAuth * Moving int64 to top so it's aligned * Adding comment and fixing asymmetric call
Этот коммит содержится в:
@@ -37,6 +37,11 @@ type Session struct {
|
||||
TeamMembers []*TeamMember `json:"team_members" db:"-"`
|
||||
}
|
||||
|
||||
func (me *Session) DeepCopy() *Session {
|
||||
copy := *me
|
||||
return ©
|
||||
}
|
||||
|
||||
func (me *Session) ToJson() string {
|
||||
b, err := json.Marshal(me)
|
||||
if err != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user