Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mxm1070 authored and github-actions[bot] committed Feb 19, 2024
1 parent dc0587b commit 550a01d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions app-modules/consent/graphql/consent-agreement.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ type ConsentAgreementMutations {
input: UpdateConsentAgreementInput! @spread
): ConsentAgreement!
@canFind(ability: "update", find: "id")
@field(resolver: "AdvisingApp\\Consent\\GraphQL\\Mutations\\UpdateConsentAgreement")
@field(
resolver: "AdvisingApp\\Consent\\GraphQL\\Mutations\\UpdateConsentAgreement"
)

"Consent a user to a consent agreement."
consent(
Expand All @@ -113,7 +115,9 @@ type ConsentAgreementMutations {
user_id: UUID! @rules(apply: ["required", "uuid", "exists:users,id"])
): ConsentAgreement!
@canFind(ability: "update", find: "id")
@field(resolver: "AdvisingApp\\Consent\\GraphQL\\Mutations\\ConsentUserToConsentAgreement")
@field(
resolver: "AdvisingApp\\Consent\\GraphQL\\Mutations\\ConsentUserToConsentAgreement"
)
}

extend type Mutation {
Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/ValidateGraphQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function handle(ASTCache $cache, SchemaBuilder $schemaBuilder): int
if (! $this->option('skip-schema')) {
Artisan::call(ValidateSchemaCommand::class, outputBuffer: $this->output);
} else {
$this->line($this->style("Schema validation skipped.", "warning"));
$this->line($this->style('Schema validation skipped.', 'warning'));
$cache->clear();
}
$schema = $schemaBuilder->schema();
Expand Down

0 comments on commit 550a01d

Please sign in to comment.