Skip to content

Commit 0bbc320

Browse files
update typo
Co-authored-by: Zeyu Li <[email protected]>
1 parent 429fce1 commit 0bbc320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/appsync-modelgen-plugin/src/utils/fieldUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function getOtherSideBelongsToField(type: string, otherSideModel: CodeGen
2828
/**
2929
* Given a model, it returns the primary and sort key fields if present, an empty list otherwise.
3030
* @param model Codegen Model object
31-
* @returns Array of primary and sort key codegen fields if present or an ampty list
31+
* @returns Array of primary and sort key codegen fields if present or an empty list
3232
*/
3333
export function getModelPrimaryKeyComponentFields(model: CodeGenModel): CodeGenField[] {
3434
const primaryKeyField = model.fields.find(field => field.primaryKeyInfo);

0 commit comments

Comments
 (0)