fix: deprecrated conversion from int64 to string

This commit is contained in:
proletarius101 2020-09-09 21:41:34 +08:00 committed by Simon Ser
parent 9e23289610
commit 9cd3bb51b9

View File

@ -195,7 +195,7 @@ func (c *Client) Options(path string) (classes map[string]bool, methods map[stri
func (c *Client) SyncCollection(path, syncToken string, level Depth, limit *Limit, prop *Prop) (*Multistatus, error) {
q := SyncCollectionQuery{
SyncToken: syncToken,
SyncLevel: string(level),
SyncLevel: level.String(),
Limit: limit,
Prop: prop,
}