1
0
forked from mirror/misskey

Merge pull request #1469 from tamaina/snake_case

nameId → name_id
This commit is contained in:
syuilo 2018-04-14 23:38:28 +09:00 committed by GitHub
commit 416d8f24ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';