"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const typeorm_1 = require("typeorm");
const entities_1 = require("../../../entities");
exports.deletePublisher = {
    async deletePublisher(_, { id }) {
        const repository = typeorm_1.getRepository(entities_1.Publisher);
        /* TODO - 퍼블리셔 삭제시 스케듈들이 모두 스톱되어야 한다. */
        return await repository.delete(id);
    }
};
//# sourceMappingURL=delete-publisher.js.map