mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
debug secret parsing
This commit is contained in:
parent
ac10e65097
commit
2b9e5cc7e8
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ type Service struct {
|
||||||
|
|
||||||
func NewService(ctx context.Context, credJson string, opts ...Option) (*Service, error) {
|
func NewService(ctx context.Context, credJson string, opts ...Option) (*Service, error) {
|
||||||
b := []byte(credJson)
|
b := []byte(credJson)
|
||||||
|
log.Println(credJson)
|
||||||
|
|
||||||
config, err := google.ConfigFromJSON(b, calendar.CalendarReadonlyScope)
|
config, err := google.ConfigFromJSON(b, calendar.CalendarReadonlyScope)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue