mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix api error
This commit is contained in:
parent
3c67900916
commit
64ed6fee68
1 changed files with 4 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import axios from 'axios'
|
||||
|
||||
export const archivePage = async (
|
||||
pageId: string,
|
||||
apiEndpoint: string,
|
||||
auth: string
|
||||
auth: string,
|
||||
pageId: string
|
||||
) => {
|
||||
const data = JSON.stringify({
|
||||
query: `mutation SetLinkArchived($input: ArchiveLinkInput!) {
|
||||
|
|
@ -39,9 +39,9 @@ export const archivePage = async (
|
|||
}
|
||||
|
||||
export const markPageAsRead = async (
|
||||
pageId: string,
|
||||
apiEndpoint: string,
|
||||
auth: string
|
||||
auth: string,
|
||||
pageId: string
|
||||
) => {
|
||||
const data = JSON.stringify({
|
||||
query: `mutation SaveArticleReadingProgress($input: SaveArticleReadingProgressInput!) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue