Skip to content
Snippets Groups Projects
Commit bc3c67bc authored by Amanda Pollyanna da Silva Rodrigues's avatar Amanda Pollyanna da Silva Rodrigues
Browse files

Merge branch 'issue-none/testes-amanda' into 'develop'

ADD purchase route

See merge request !18
parents 4403a19a d09791a8
No related branches found
No related tags found
1 merge request!18ADD purchase route
import { pgTable, unique, serial, varchar, timestamp, numeric, foreignKey, integer, pgEnum } from "drizzle-orm/pg-core"
import { sql } from "drizzle-orm"
export const bodyPartsEnum = pgEnum("bodyPartsEnum", ['FrontalCortex', 'OperatingSystem', 'Arms', 'Skeleton', 'NervousSystem', 'IntegumentarySystem', 'Face', 'Hands', 'CirculatorySystem', 'Legs'])
......
......@@ -25,7 +25,7 @@ app.post('/addImplant', tokenAuthenticator, implant.implantCreate)
app.get('/getImplant/:id', implant.implantRead)
app.put('/updateImplant/:id', tokenAuthenticator, implant.implantUpdate)
app.delete('/deleteImplant/:id', tokenAuthenticator, implant.implantDelete)
//app.post('/purchase', tokenAuthenticator, implant.buy)
app.post('/purchase', tokenAuthenticator, implant.implantBuy)
// Definir a porta e iniciar o servidor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment