Skip to content

Commit

Permalink
remove cocodentax-admin APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
kguzek committed Jun 10, 2024
1 parent 8ecf882 commit e8939d1
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 192 deletions.
2 changes: 0 additions & 2 deletions api/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ const ENDPOINTS = [
"auth",
"updated",
"tu-lalem",
"cocodentax-admin/allegro",
"cocodentax-admin/pocztex",
"liveseries",
"logs",
];
Expand Down
2 changes: 0 additions & 2 deletions api/v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"jsonwebtoken": "^9.0.0",
"mysql2": "^3.9.8",
"open": "^10.1.0",
"request": "^2.88.2",
"s-salt-pepper": "^3.0.4",
"sequelize": "^6.29.0",
"torrent-indexer": "^1.2.1",
Expand All @@ -57,7 +56,6 @@
"@types/jsonwebtoken": "^8.5.8",
"@types/mysql": "^2.15.21",
"@types/node": "^17.0.33",
"@types/request": "^2.48.8",
"@types/sequelize": "^4.28.13",
"@types/uuid": "^8.3.4",
"nodemon": "^2.0.16"
Expand Down
55 changes: 0 additions & 55 deletions api/v1/src/cocodentax-admin.ts

This file was deleted.

3 changes: 0 additions & 3 deletions api/v1/src/middleware/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@ const PERMISSIONS = {
GET: [
"/pages", // View all pages
"/updated", // View site updates
"/cocodentax-admin/allegro/auth", // Login to Allegro
"/cocodentax-admin/allegro/api", // Make Allegro API requests
"/liveseries/downloaded-episodes/ws/.websocket", // LiveSeries downloaded episode info
],
POST: [
"/auth/users", // Sign up
"/auth/tokens", // Log in
"/auth/access", // Regenerate access token
"/cocodentax-admin/pocztex/orders", // Submit Pocztex order
],
PUT: [],
DELETE: [],
Expand Down
52 changes: 0 additions & 52 deletions api/v1/src/routes/cocodentax-admin/allegro.ts

This file was deleted.

78 changes: 0 additions & 78 deletions api/v1/src/routes/cocodentax-admin/pocztex.ts

This file was deleted.

0 comments on commit e8939d1

Please sign in to comment.