Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JJTech0130 committed Jul 1, 2024
1 parent 6435b1a commit 9d5e4b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/connector/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ func (m *MetaCookieLogin) SubmitCookies(ctx context.Context, strCookies map[stri
}
}

newSession := store.MetaSession {
MetaID: FBID,
newSession := store.MetaSession{
MetaID: FBID,
Cookies: c,
}
err = q.Insert(ctx, &newSession)
Expand Down
2 changes: 1 addition & 1 deletion pkg/store/session_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ func (q *MetaSessionQuery) Insert(ctx context.Context, session *MetaSession) err

func (q *MetaSessionQuery) Delete(ctx context.Context, metaID int64) error {
return q.Exec(ctx, `DELETE FROM "meta_session" WHERE meta_id=$1`, metaID)
}
}

0 comments on commit 9d5e4b4

Please sign in to comment.