import { clearToken, makeSuccessResponse } from "utils/server.ts";
import { define } from "utils/state.ts";

export const handler = define.handlers({
  GET(_ctx) {
    const successResponse = makeSuccessResponse(true);
    clearToken(successResponse);
    return successResponse;
  },
});
