Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martmull committed Aug 22, 2024
1 parent 8c5446e commit d189ac1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class BaseServerlessDriver {
async getCompiledCode(
serverlessFunction: ServerlessFunctionEntity,
fileStorageService: FileStorageService,
version='draft',
version = 'draft',
) {
const folderPath = this.getFolderPath(serverlessFunction, version);
const fileStream = await fileStorageService.read({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Field, ID, InputType } from '@nestjs/graphql';

import { IDField } from '@ptc-org/nestjs-query-graphql';


@InputType()
export class GetServerlessFunctionSourceCodeInput {
@IDField(() => ID, { description: 'The id of the function.' })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ import {
import {
IsDateString,
IsEnum,
IsNotEmpty, IsNumber, IsOptional,
IsNotEmpty,
IsNumber,
IsString,
IsUUID
IsUUID,
} from 'class-validator';

import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ export class CodeWorkflowActionExecutor implements WorkflowActionExecutor {
);
}

const result = await this.serverlessFunctionService.executeOneServerlessFunction(
action.settings.serverlessFunctionId,
workspaceId,
payload,
);
const result =
await this.serverlessFunctionService.executeOneServerlessFunction(
action.settings.serverlessFunctionId,
workspaceId,
payload,
);

return { data: result.data, ...(result.error && { error: result.error }) };
}
Expand Down

0 comments on commit d189ac1

Please sign in to comment.