diff --git a/server/api_notification.go b/server/api_notification.go index 509acbaf53519be5f86f1af1ed9604fc842da6aa..16120fba9272c736d1ff2536ac0e0aea3e2af42b 100644 --- a/server/api_notification.go +++ b/server/api_notification.go @@ -65,7 +65,7 @@ func (s *ApiServer) ListNotifications(ctx context.Context, in *api.ListNotificat cursor := in.GetCacheableCursor() var nc *notificationCacheableCursor if cursor != "" { - nc := ¬ificationCacheableCursor{} + nc = ¬ificationCacheableCursor{} cb, err := base64.RawURLEncoding.DecodeString(cursor) if err != nil { s.logger.Warn("Could not base64 decode notification cursor.", zap.String("cursor", cursor))