(wip): migrate ttp to mtp -> snake case to pascal case
This commit is contained in:
parent
ee5955fc75
commit
7f75a36d73
23 changed files with 214 additions and 248 deletions
|
|
@ -62,7 +62,7 @@ export default function Wrapper({ children }: { children: ReactNode }) {
|
|||
// Get Shared Secret
|
||||
const sharedSecret = await getSharedSecret(
|
||||
await load("private_key"),
|
||||
user.public_key,
|
||||
user.PublicKey,
|
||||
appPublicKey,
|
||||
).catch((err) => {
|
||||
log(1, "tauth", "red", "Failed to get shared secret", err, {
|
||||
|
|
@ -92,8 +92,8 @@ export default function Wrapper({ children }: { children: ReactNode }) {
|
|||
|
||||
// Save Session
|
||||
await send("create_app", {
|
||||
app_public_key: appPublicKey,
|
||||
app_identifier: identifier,
|
||||
AppPublicKey: appPublicKey,
|
||||
AppIdentifier: identifier,
|
||||
});
|
||||
|
||||
// Open Redirect URL
|
||||
|
|
|
|||
Loading…
Reference in a new issue