in app/com/gu/floodgate/contentsource/ContentSource.scala [100:111]
def apply(id: String, contentSourceWithoutId: ContentSourceWithoutId): ContentSource = {
ContentSource(
id,
contentSourceWithoutId.appName,
contentSourceWithoutId.description,
contentSourceWithoutId.reindexEndpoint,
contentSourceWithoutId.environment,
contentSourceWithoutId.authType,
contentSourceWithoutId.contentSourceSettings,
contentSourceWithoutId.headers
)
}