Skip to content

Commit

Permalink
fix: also set username for alby hub app
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jan 5, 2025
1 parent 391593e commit c230d6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export async function createWallet(
const newAppResponse = await fetch(new URL("/api/apps", getAlbyHubUrl()), {
method: "POST",
body: JSON.stringify({
name: APP_NAME_PREFIX + Math.floor(Date.now() / 1000),
name:
APP_NAME_PREFIX + request?.username || Math.floor(Date.now() / 1000),
pubkey: "",
budgetRenewal: "monthly",
maxAmount: 0,
Expand Down

0 comments on commit c230d6e

Please sign in to comment.