Permalink
Browse files

Update for events/fs API change.

fs.NewService now requires a users.User rather than users.UserSpec.

Follows shurcooL/events@3979195.
  • Loading branch information...
dmitshur committed Nov 30, 2017
1 parent 47ffd3f commit bd99d2ad1d60f7a1c7292257c1d8701e87bcf999
Showing with 2 additions and 2 deletions.
  1. +2 −2 events.go
View
@@ -13,11 +13,11 @@ import (
)
func newEventsService(root webdav.FileSystem, users users.Service) (events.Service, error) {
local, err := fs.NewService(root, shurcool)
shurcool, err := users.Get(context.Background(), shurcool)
if err != nil {
return nil, err
}
shurcool, err := users.Get(context.Background(), shurcool)
local, err := fs.NewService(root, shurcool)
if err != nil {
return nil, err
}

0 comments on commit bd99d2a

Please sign in to comment.