mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 02:51:51 +00:00
fix: use put instead of post and improve var naming
This commit is contained in:
@@ -38,7 +38,7 @@ export const registerExternalGroupOrgRoleMappingRouter = async (server: FastifyZ
|
||||
|
||||
// update mappings for current org
|
||||
server.route({
|
||||
method: "POST", // using post since this endpoint creates, updates and deletes mappings
|
||||
method: "PUT", // using put since this endpoint creates, updates and deletes mappings
|
||||
url: "/",
|
||||
config: {
|
||||
rateLimit: writeLimit
|
||||
|
||||
Reference in New Issue
Block a user