mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Rename linkId to pageId in SetLabelsInput
This commit is contained in:
parent
848129233a
commit
73ef8fef09
4 changed files with 4 additions and 4 deletions
|
|
@ -1460,7 +1460,7 @@ export enum SetLabelsErrorCode {
|
|||
|
||||
export type SetLabelsInput = {
|
||||
labelIds: Array<Scalars['ID']>;
|
||||
linkId: Scalars['ID'];
|
||||
pageId: Scalars['ID'];
|
||||
};
|
||||
|
||||
export type SetLabelsResult = SetLabelsError | SetLabelsSuccess;
|
||||
|
|
|
|||
|
|
@ -1070,7 +1070,7 @@ enum SetLabelsErrorCode {
|
|||
|
||||
input SetLabelsInput {
|
||||
labelIds: [ID!]!
|
||||
linkId: ID!
|
||||
pageId: ID!
|
||||
}
|
||||
|
||||
union SetLabelsResult = SetLabelsError | SetLabelsSuccess
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ export const setLabelsResolver = authorized<
|
|||
>(async (_, { input }, { claims: { uid }, log, pubsub }) => {
|
||||
log.info('setLabelsResolver')
|
||||
|
||||
const { linkId: pageId, labelIds } = input
|
||||
const { pageId, labelIds } = input
|
||||
|
||||
try {
|
||||
const user = await getRepository(User).findOneBy({ id: uid })
|
||||
|
|
|
|||
|
|
@ -1359,7 +1359,7 @@ const schema = gql`
|
|||
union SignupResult = SignupSuccess | SignupError
|
||||
|
||||
input SetLabelsInput {
|
||||
linkId: ID!
|
||||
pageId: ID!
|
||||
labelIds: [ID!]!
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue