Skip to content

Commit

Permalink
Update datastore.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cchensh committed Sep 27, 2024
1 parent b47b70a commit 4f92e3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cli-test/src/cli/commands/datastore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface DatastoreCommandArguments {
export const datastoreGet = async function datastoreGet(
args: ProjectCommandArguments & Pick<DatastoreCommandArguments, 'datastoreName' | 'primaryKeyValue'>,
): Promise<string> {
const getQueryObj: any = {
const getQueryObj = {
datastore: args.datastoreName,
id: args.primaryKeyValue
};
Expand All @@ -40,7 +40,7 @@ export const datastoreGet = async function datastoreGet(
export const datastoreDelete = async function datastoreDelete(
args: ProjectCommandArguments & Pick<DatastoreCommandArguments, 'datastoreName' | 'primaryKeyValue'>,
): Promise<string> {
const deleteQueryObj: any = {
const deleteQueryObj = {
datastore: args.datastoreName,
id: args.primaryKeyValue
};
Expand All @@ -59,7 +59,7 @@ export const datastoreDelete = async function datastoreDelete(
export const datastorePut = async function datastorePut(
args: ProjectCommandArguments & Pick<DatastoreCommandArguments, 'datastoreName' | 'putItem'>,
): Promise<string> {
const putQueryObj: any = {
const putQueryObj = {
datastore: args.datastoreName,
item: args.putItem
};
Expand All @@ -81,7 +81,7 @@ export const datastorePut = async function datastorePut(
export const datastoreQuery = async function datastoreQuery(
args: ProjectCommandArguments & Pick<DatastoreCommandArguments, 'datastoreName' | 'queryExpression' | 'queryExpressionValues'>,
): Promise<string> {
const queryObj: any = {
const queryObj = {
datastore: args.datastoreName,
expression: args.queryExpression,
expression_values: args.queryExpressionValues
Expand Down

0 comments on commit 4f92e3d

Please sign in to comment.