collab: Make metrics_id required in LlmTokenClaims (#21771)

This PR makes the `metrics_id` field on the `LlmTokenClaims` required,
as we always have one in practice.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-12-09 17:58:14 -05:00 committed by GitHub
parent 158cdc33ba
commit 8a85d6ef96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 7 deletions

View file

@ -130,7 +130,7 @@ async fn update_billing_preferences(
SnowflakeRow::new(
"Spend Limit Updated",
Some(user.metrics_id),
user.metrics_id,
user.admin,
None,
json!({