update create application
This commit is contained in:
1 parent
c266894f87
commit
34584a84bf
2 files changed
+3
-3
No files matched your search
@@ -2,8 +2,8 @@ import { IService } from '../service';
|
||||
|
||||
export interface IApplication {
|
||||
id?: string;
|
||||
service: IService;
|
||||
service_id: string;
|
||||
service?: IService;
|
||||
service_id?: string;
|
||||
api_key?: string;
|
||||
user_id?: string;
|
||||
remaining_count?: number;
|
||||
|
||||
@@ -107,7 +107,7 @@ export default defineComponent({
|
||||
onApply() {
|
||||
applicationOperator
|
||||
.create({
|
||||
service: this.id
|
||||
service_id: this.id
|
||||
})
|
||||
.then(({ data: data }: { data: IApplicationDetailResponse }) => {
|
||||
this.application = data;
|
||||
|
||||
Reference in new issue
Block a user