dashpresshq/dashpress

View on GitHub
src/pages/api/setup/check.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { requestHandler } from "@/backend/lib/request";
import { setupApiService } from "@/backend/setup/setup.service";

export default requestHandler(
  {
    GET: async () => {
      return await setupApiService.check();
    },
  },
  [
    {
      _type: "guest",
    },
  ]
);