summaryrefslogtreecommitdiff
path: root/src/client/app/dev/views/new-app.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/dev/views/new-app.vue')
-rw-r--r--src/client/app/dev/views/new-app.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/dev/views/new-app.vue b/src/client/app/dev/views/new-app.vue
index a3d7af4b97..bf19e6da57 100644
--- a/src/client/app/dev/views/new-app.vue
+++ b/src/client/app/dev/views/new-app.vue
@@ -66,7 +66,7 @@ export default Vue.extend({
const err =
!this.nid.match(/^[a-zA-Z0-9_]+$/) ? 'invalid-format' :
- this.nid.length < 3 ? 'min-range' :
+ this.nid.length < 1 ? 'min-range' :
this.nid.length > 30 ? 'max-range' :
null;
@@ -77,7 +77,7 @@ export default Vue.extend({
this.nidState = 'wait';
- (this as any).api('app/nameId/available', {
+ (this as any).api('app/name_id/available', {
nameId: this.nid
}).then(result => {
this.nidState = result.available ? 'ok' : 'unavailable';