fix: un-hard-code location (#2760)

This commit is contained in:
matt
2026-01-07 18:01:40 -05:00
committed by GitHub
parent b3f92ef597
commit 479aaa9d2f
@@ -41,7 +41,7 @@ func InsertCutOverPayloadsIntoTempTable(ctx context.Context, tx DBTX, tableName
ids = append(ids, payload.ID)
insertedAts = append(insertedAts, payload.InsertedAt)
types = append(types, string(payload.Type))
locations = append(locations, string(V1PayloadLocationEXTERNAL))
locations = append(locations, string(payload.Location))
externalLocationKeys = append(externalLocationKeys, string(payload.ExternalLocationKey))
inlineContents = append(inlineContents, payload.InlineContent)
}