From 01ceda80158579d99febc148569bac81bd117c7d Mon Sep 17 00:00:00 2001 From: Magnus Hovland Hoff Date: Mon, 1 Oct 2018 22:58:40 +0200 Subject: [PATCH] Use correct number for generating pagination link --- src/resources/diff_resource.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/diff_resource.rs b/src/resources/diff_resource.rs index 6f2a18a..8d2591c 100644 --- a/src/resources/diff_resource.rs +++ b/src/resources/diff_resource.rs @@ -130,7 +130,7 @@ impl Resource for DiffResource { article_history_link: &format!("_changes{}", changes_resource::QueryParameters::default() .article_id(Some(self.from.article_id)) - .pagination(Pagination::After(self.from.revision)) + .pagination(Pagination::After(self.from.sequence_number)) .into_link() ), from_link: &format!("_revisions/{}/{}", self.from.article_id, self.from.revision),