Backend WOW. Pt.2
This commit is contained in:
parent
89cc832a6b
commit
fcc147f8ae
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class API:
|
||||||
self.ai = AI()
|
self.ai = AI()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
@self.app.route('/interstellar/api/ai_create', methods=['POST'])
|
@self.app.route('/interstellar/api/ai_create', methods=['GET'])
|
||||||
def create_ai():
|
def create_ai():
|
||||||
self.ai_response.append("")
|
self.ai_response.append("")
|
||||||
return jsonify({'status': 200, 'access_token': len(self.ai_response) - 1})
|
return jsonify({'status': 200, 'access_token': len(self.ai_response) - 1})
|
||||||
|
|
Loading…
Reference in a new issue