change sheet use api key instead of use user credential
This commit is contained in:
parent
8ccbbc8647
commit
41812591b7
4 changed files with 22 additions and 17 deletions
|
|
@ -438,7 +438,7 @@ func (s *Server) createHandler() {
|
|||
})
|
||||
|
||||
// Recipe Router
|
||||
sheetService, err := sheet.NewSheetService(context.Background())
|
||||
sheetService, err := sheet.NewSheetService(context.Background(), s.cfg)
|
||||
|
||||
if err != nil {
|
||||
Log.Fatal("Error while trying to create sheet service: ", zap.Error(err))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue