mirror of https://github.com/morpheus65535/bazarr
14 lines
268 B
Python
14 lines
268 B
Python
|
# coding=utf-8
|
||
|
|
||
|
from flask import jsonify
|
||
|
from flask_restful import Resource
|
||
|
|
||
|
from ..utils import authenticate
|
||
|
from database import get_profiles_list
|
||
|
|
||
|
|
||
|
class LanguagesProfiles(Resource):
|
||
|
@authenticate
|
||
|
def get(self):
|
||
|
return jsonify(get_profiles_list())
|