Skip to content

Commit 036f7e2

Browse files
committed
fix cta button for API keys
1 parent 5f65700 commit 036f7e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/routes/apiKey.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ If you did not create this API key, please secure your account and notify the AC
113113
`,
114114
callToActionButton: {
115115
name: "View API Keys",
116-
url: `${fastify.environmentConfig.UserFacingUrl}/apiKeys`,
116+
url: `${fastify.environmentConfig.UserFacingUrl}/login?returnTo=%2FapiKeys`,
117117
},
118118
},
119119
};
@@ -215,7 +215,7 @@ If you did not delete this API key, please secure your account and notify the AC
215215
`,
216216
callToActionButton: {
217217
name: "View API Keys",
218-
url: `${fastify.environmentConfig.UserFacingUrl}/apiKeys`,
218+
url: `${fastify.environmentConfig.UserFacingUrl}/login?returnTo=%2FapiKeys`,
219219
},
220220
},
221221
};

0 commit comments

Comments
 (0)