Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LarchLiu committed May 31, 2023
1 parent 221ce59 commit a0608ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/nuxt3/pages/app-init.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ async function onInitClick() {
async function onAddUser() {
if (config.value) {
const appName = Object.keys(config.value.app)[0]
const { error } = await useFetch(`/api/${appName}/init`, {
const { error } = await useFetch(`/api/${appName}/adduser`, {
method: 'POST',
body: {
token: config.value.app[appName].botToken,
botToken: config.value.app[appName].botToken,
userId: userId.value,
userConfig: config.value,
},
Expand Down

1 comment on commit a0608ae

@vercel
Copy link

@vercel vercel bot commented on a0608ae May 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

star-nexus – ./

star-nexus-larchliu.vercel.app
star-nexus.vercel.app
star-nexus-git-main-larchliu.vercel.app

Please sign in to comment.