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

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

import static com.atlassian.bitbucket.webhook.WebHookEventId.REPOSITORY_CREATED;

@JsonSurrogate(RepositoryCreatedEvent.class)
public class JsonRepositoryCreatedWebHook extends AbstractJsonRepositoryWebHook {

    public JsonRepositoryCreatedWebHook(RepositoryCreatedEvent event, DateFormatter dateFormatter) {
        super(event, REPOSITORY_CREATED, dateFormatter);
    }
}
