Commit 8458152d authored by John Detter's avatar John Detter Committed by Andrei Mihu
Browse files

Fix ListNotifications not using the user supplied cursor. (#399)

parent f417a823
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ func (s *ApiServer) ListNotifications(ctx context.Context, in *api.ListNotificat
	cursor := in.GetCacheableCursor()
	var nc *notificationCacheableCursor
	if cursor != "" {
		nc := &notificationCacheableCursor{}
		nc = &notificationCacheableCursor{}
		cb, err := base64.RawURLEncoding.DecodeString(cursor)
		if err != nil {
			s.logger.Warn("Could not base64 decode notification cursor.", zap.String("cursor", cursor))