Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap IDs #18794

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Wrap IDs #18794

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading