project-nomad/admin/app/controllers/collection_updates_controller.ts
2026-02-11 15:44:46 -08:00

10 lines
359 B
TypeScript

import { CollectionUpdateService } from '#services/collection_update_service'
import type { HttpContext } from '@adonisjs/core/http'
export default class CollectionUpdatesController {
async checkForUpdates({}: HttpContext) {
const collectionUpdateService = new CollectionUpdateService()
return await collectionUpdateService.checkForUpdates()
}
}