Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielrindlaub committed Sep 27, 2023
1 parent dd463e5 commit 3288089
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/api/db/models/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export class ImageModel {
}
}

static async createObjects(input, context) {
static async createObjects(input) {
const operation = async ({ objects }) => {
return await retry(async (bail, attempt) => {
if (attempt > 1) {
Expand Down Expand Up @@ -298,7 +298,7 @@ export class ImageModel {
}
}

static async updateObjects(input, context) {
static async updateObjects(input) {
console.log('ImageModel.updateObjects - input: ', JSON.stringify(input));
const operation = async ({ updates }) => {
return await retry(async (bail, attempt) => {
Expand Down Expand Up @@ -338,7 +338,7 @@ export class ImageModel {
}
}

static async deleteObjects(input, context) {
static async deleteObjects(input) {
const operation = async ({ objects }) => {
return await retry(async () => {
// find images, remove objects, and bulk write
Expand Down Expand Up @@ -427,7 +427,7 @@ export class ImageModel {
}
}

static async updateLabels(input, context) {
static async updateLabels(input) {
console.log('ImageModel.updateLabels - input: ', JSON.stringify(input));
const operation = async ({ updates }) => {
return await retry(async () => {
Expand Down Expand Up @@ -467,7 +467,7 @@ export class ImageModel {
}
}

static async deleteLabels(input, context) {
static async deleteLabels(input) {
console.log('ImageModel.deleteLabels - input: ', JSON.stringify(input));
const operation = async ({ labels }) => {
return await retry(async () => {
Expand Down

0 comments on commit 3288089

Please sign in to comment.