diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-07-25 00:33:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-07-25 00:33:48 +0900 |
| commit | 575da762356f9a1efd4af8a6a6dcdad9a2c3c379 (patch) | |
| tree | ad1217540d5adc375fa919769156fd69ec3c966e /src/server/api/endpoints/auth/session/show.ts | |
| parent | #1955 (diff) | |
| download | sharkey-575da762356f9a1efd4af8a6a6dcdad9a2c3c379.tar.gz sharkey-575da762356f9a1efd4af8a6a6dcdad9a2c3c379.tar.bz2 sharkey-575da762356f9a1efd4af8a6a6dcdad9a2c3c379.zip | |
Clean up: Remove unmaintained codes
Diffstat (limited to 'src/server/api/endpoints/auth/session/show.ts')
| -rw-r--r-- | src/server/api/endpoints/auth/session/show.ts | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/server/api/endpoints/auth/session/show.ts b/src/server/api/endpoints/auth/session/show.ts index 3716b49c5a..f2cbfe388e 100644 --- a/src/server/api/endpoints/auth/session/show.ts +++ b/src/server/api/endpoints/auth/session/show.ts @@ -3,46 +3,6 @@ import AuthSess, { pack } from '../../../../../models/auth-session'; import { ILocalUser } from '../../../../../models/user'; /** - * @swagger - * /auth/session/show: - * note: - * summary: Show a session information - * parameters: - * - - * name: token - * description: Session Token - * in: formData - * required: true - * type: string - * - * responses: - * 200: - * description: OK - * schema: - * type: object - * properties: - * createdAt: - * type: string - * format: date-time - * description: Date and time of the session creation - * appId: - * type: string - * description: Application ID - * token: - * type: string - * description: Session Token - * userId: - * type: string - * description: ID of user who create the session - * app: - * $ref: "#/definitions/Application" - * default: - * description: Failed - * schema: - * $ref: "#/definitions/Error" - */ - -/** * Show a session */ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => { |