"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IgCheckpointError = void 0;
const ig_response_error_1 = require("./ig-response.error");
class IgCheckpointError extends ig_response_error_1.IgResponseError {
    get url() {
        return this.response.body.challenge.url;
    }
    get apiUrl() {
        return 'https://i.instagram.com/api/v1' + this.response.body.challenge.api_path;
    }
}
exports.IgCheckpointError = IgCheckpointError;
