Skip to content

Commit

Permalink
fix(cache): building cachekey
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Sep 19, 2024
1 parent 5b04274 commit bd302c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ protected override string BuildCacheKey(AcceptType acceptType, string identifier
var shortenedAcceptType = acceptType.ToString().ToLowerInvariant();
return acceptType switch
{
AcceptType.JsonLd => $"oslo/building:{{0}}.{shortenedAcceptType}",
AcceptType.JsonLd => $"oslo/building:{0}.{shortenedAcceptType}",
_ => throw new NotImplementedException($"Cannot build CacheKey for type {typeof(AcceptType)}")
};
}
Expand Down

0 comments on commit bd302c2

Please sign in to comment.