Skip to content

Commit

Permalink
Wrap IDs (#18794)
Browse files Browse the repository at this point in the history
[Next only]
  • Loading branch information
Kordyjan authored Oct 30, 2023
2 parents 3e56bcd + e9138a3 commit 176622c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/scripts/addToBackportingProject.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import sttp.client4.*
lazy val apiToken =
System.getenv("GRAPHQL_API_TOKEN")

val PROJECT_ID: String = "PVT_kwDOACj3ec4AWSoi"
val FIELD_ID: String = "PVTF_lADOACj3ec4AWSoizgO7uJ4"

case class ID(value: String) derives WrapperVariable

val PROJECT_ID = ID("PVT_kwDOACj3ec4AWSoi")
val FIELD_ID = ID("PVTF_lADOACj3ec4AWSoizgO7uJ4")

@main def run(number: Int) =
val (id, date) = getPrData(number)
val newId = addItem(id)
Expand Down

0 comments on commit 176622c

Please sign in to comment.