refactor(server): finish the Org to Instance rename

Private identifiers plan 0b's naming map missed, plus the OrgOIDC model type.
No wire format, database field or route changes.
This commit is contained in:
mrhid6 committed 2026-07-24 15:07:06 +01:00
1 parent 6fde319b2f
commit c3e363eccc
6 files changed
+29 -29

No files matched your search

@@ -145,7 +145,7 @@ func putInstanceOIDC(c *gin.Context) {
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
return
}
if err := services.SaveOrgOIDC(auth.InstanceID(c), body.Issuer, body.ClientID, body.ClientSecret, body.Enabled); err != nil {
if err := services.SaveInstanceOIDC(auth.InstanceID(c), body.Issuer, body.ClientID, body.ClientSecret, body.Enabled); err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}