Skip to content

Commit 0a5b6be

Browse files
committed
fix(osv): Actually use the Credit.Type enum
See [1]. [1]: https://ossf.github.io/osv-schema/#creditstype-field Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent bb71f49 commit 0a5b6be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clients/osv/src/main/kotlin/Model.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ data class Affected(
8989
@Serializable
9090
data class Credit(
9191
val name: String,
92-
val contact: List<String> = emptyList()
92+
val contact: List<String> = emptyList(),
93+
val type: Type? = null
9394
) {
9495
enum class Type {
9596
ANALYST,

0 commit comments

Comments
 (0)