diff options
| author | Adam Soltys <[email protected]> | 2023-01-13 20:26:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-13 20:26:53 -0800 |
| commit | 277b921ab2a97ac170f980c3c916ab1488318f2f (patch) | |
| tree | af771877eb261c41aa158aef2dddf96fa40f653c /src/routes/(app)/launch | |
| parent | e0671101e4b217ff891fad85482e5943aa5cf543 (diff) | |
| download | coinos-ui-277b921ab2a97ac170f980c3c916ab1488318f2f.tar.gz coinos-ui-277b921ab2a97ac170f980c3c916ab1488318f2f.zip | |
server redis migration
Diffstat (limited to 'src/routes/(app)/launch')
| -rw-r--r-- | src/routes/(app)/launch/purchase/+page.server.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/launch/purchase/+page.server.js b/src/routes/(app)/launch/purchase/+page.server.js index 2ecce695..98ae51eb 100644 --- a/src/routes/(app)/launch/purchase/+page.server.js +++ b/src/routes/(app)/launch/purchase/+page.server.js @@ -38,8 +38,8 @@ export const actions = { let user = { username: form.get('username') }; - let { uuid } = await post('/invoice', { invoice, user }, auth(cookies)); + let { id } = await post('/invoice', { invoice, user }, auth(cookies)); - throw redirect(307, `/invoice/${uuid}`); + throw redirect(307, `/invoice/${id}`); } }; |
