submission.setNotifyEmail(email);
submission.setPhoneNumber(phoneNumber);
userAuthTokenDao.setUserAuthToken(youTubeName, authSubToken);
AdminConfig adminConfig = adminConfigDao.getAdminConfig();
youTubeApiHelper.setAuthSubToken(adminConfig.getYouTubeAuthSubToken());
if (adminConfig.getModerationMode() == AdminConfig.ModerationModeType.NO_MOD.ordinal()) {
// NO_MOD is set, auto approve all submission
// TODO: This isn't enough, as the normal approval flow (adding the branding, tags, emails,
// etc.) isn't taking place.
submission.setStatus(VideoSubmission.ModerationStatus.APPROVED);
youTubeApiHelper.updateModeration(videoId, true);