chore: Rename createSamlAuthProvider mutation as upsertSamlAuthProvider (#1200)
This commit is contained in:
@@ -25,7 +25,7 @@ import updateRole from './mutations/update-role.ee';
|
|||||||
import updateStep from './mutations/update-step';
|
import updateStep from './mutations/update-step';
|
||||||
import updateUser from './mutations/update-user.ee';
|
import updateUser from './mutations/update-user.ee';
|
||||||
import verifyConnection from './mutations/verify-connection';
|
import verifyConnection from './mutations/verify-connection';
|
||||||
import createSamlAuthProvider from './mutations/create-saml-auth-provider.ee';
|
import upsertSamlAuthProvider from './mutations/upsert-saml-auth-provider.ee';
|
||||||
|
|
||||||
const mutationResolvers = {
|
const mutationResolvers = {
|
||||||
createConnection,
|
createConnection,
|
||||||
@@ -55,7 +55,7 @@ const mutationResolvers = {
|
|||||||
updateRole,
|
updateRole,
|
||||||
updateStep,
|
updateStep,
|
||||||
verifyConnection,
|
verifyConnection,
|
||||||
createSamlAuthProvider,
|
upsertSamlAuthProvider,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default mutationResolvers;
|
export default mutationResolvers;
|
||||||
|
@@ -18,7 +18,7 @@ type Params = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const createSamlAuthProvider = async (
|
const upsertSamlAuthProvider = async (
|
||||||
_parent: unknown,
|
_parent: unknown,
|
||||||
params: Params,
|
params: Params,
|
||||||
context: Context
|
context: Context
|
||||||
@@ -51,4 +51,4 @@ const createSamlAuthProvider = async (
|
|||||||
return samlAuthProvider;
|
return samlAuthProvider;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default createSamlAuthProvider;
|
export default upsertSamlAuthProvider;
|
@@ -79,7 +79,7 @@ type Mutation {
|
|||||||
updateStep(input: UpdateStepInput): Step
|
updateStep(input: UpdateStepInput): Step
|
||||||
updateUser(input: UpdateUserInput): User
|
updateUser(input: UpdateUserInput): User
|
||||||
verifyConnection(input: VerifyConnectionInput): Connection
|
verifyConnection(input: VerifyConnectionInput): Connection
|
||||||
createSamlAuthProvider(input: CreateSamlAuthProviderInput): SamlAuthProvider
|
upsertSamlAuthProvider(input: UpsertSamlAuthProviderInput): SamlAuthProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@@ -336,7 +336,7 @@ input VerifyConnectionInput {
|
|||||||
id: String!
|
id: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
input CreateSamlAuthProviderInput {
|
input UpsertSamlAuthProviderInput {
|
||||||
name: String!
|
name: String!
|
||||||
certificate: String!
|
certificate: String!
|
||||||
signatureAlgorithm: String!
|
signatureAlgorithm: String!
|
||||||
|
Reference in New Issue
Block a user