mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 00:58:36 +00:00
fix: use correct key prefix for migration (#1114)
This commit is contained in:
parent
3a21111d58
commit
093388c403
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ export const up: slonik.Migration = async ({ context: { connection, sql } }) =>
|
|||
let lastCursor: null | Cursor = null;
|
||||
|
||||
async function seedLegacyCDNKey(item: zod.TypeOf<typeof TargetsModel>[number]): Promise<void> {
|
||||
const s3Key = `s3-legacy-keys/${item.id}`;
|
||||
const s3Key = `cdn-legacy-keys/${item.id}`;
|
||||
const privateAccessKey = generateLegacyCDNAccessToken(item.id);
|
||||
const firstCharacters = privateAccessKey.substring(0, 3);
|
||||
const lastCharacters = privateAccessKey.substring(privateAccessKey.length - 3);
|
||||
|
|
|
|||
Loading…
Reference in a new issue