Skip to content

Commit 75a9c29

Browse files
Added site name as contact for CSTG
1 parent 1385f2f commit 75a9c29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/uid2/operator/vertx/UIDOperatorVerticle.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ private void handleClientSideTokenGenerateImpl(RoutingContext rc) throws NoSuchA
357357
null, TokenResponseStatsCollector.Endpoint.ClientSideTokenGenerateV2, TokenResponseStatsCollector.ResponseStatus.BadSubscriptionId, siteProvider, platformType);
358358
return;
359359
}
360+
rc.data().put("api-contact", siteProvider.getSite(clientSideKeypair.getSiteId()).getName());
360361

361362
if(clientSideKeypair.isDisabled()) {
362363
SendClientErrorResponseAndRecordStats(ResponseStatus.Unauthorized, 401, rc, "Unauthorized",

0 commit comments

Comments
 (0)