package com.atlassian.bitbucket.internal.webhook.json;

import com.atlassian.bitbucket.event.repository.RepositoryDeletedEvent;
import com.atlassian.bitbucket.rest.annotation.JsonSurrogate;
import com.atlassian.bitbucket.util.DateFormatter;

import static com.atlassian.bitbucket.webhook.WebHookEventId.PROJECT_DELETED;
import static com.atlassian.bitbucket.webhook.WebHookEventId.REPOSITORY_DELETED;

@JsonSurrogate(RepositoryDeletedEvent.class)
public class JsonRepositoryDeletedWebHook extends AbstractJsonRepositoryWebHook {

    public JsonRepositoryDeletedWebHook(RepositoryDeletedEvent event, DateFormatter dateFormatter) {
        super(event, REPOSITORY_DELETED, dateFormatter);
    }
}
