Skip to content

Commit

Permalink
Fix wrong index
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd committed Dec 1, 2023
1 parent ea34d7a commit 7d98301
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ public ApiVersionMetaHeaderProducer(VersionInfo version)
return;
}

_apiVersion = $"{meta.Substring(0, 4)}-{meta.Substring(4, 2)}-{meta.Substring(2, 2)}";
// Metadata format: 20231031

_apiVersion = $"{meta.Substring(0, 4)}-{meta.Substring(4, 2)}-{meta.Substring(6, 2)}";
}
}

0 comments on commit 7d98301

Please sign in to comment.